[PATCH 0/1] Eliminate warnings from rpcgen generated code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



For years, the rpcgen generated code causes 
a number of -Wunused-variable. Taking a closer
look at rpcgen , it turns out these warnings 
were caused by rpcgen trying inline the code.

Inlining is a technique that allows xdr routines
to run faster and more efficiently. It turns out
only one routine, xdr_ppathcnf(), was taking 
advantage of this technique. 

So by turning off rpcgen inline the warnings 
are eliminated with no lost of speed or efficiency

The patch also eliminates a -Wmissing-prototypes
by a hack to the nsm/Makefile.am.

Steve Dickson (1):
  Remove warnings from rpcgen genrated files

 support/export/Makefile.am | 2 +-
 support/nsm/Makefile.am    | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

-- 
2.14.3

--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux