commit | edbfd75d8fb4a13eccc2cadb12a453c3425d17d1 | [log] [tgz] |
---|---|---|
author | Theodore Ts'o <tytso@mit.edu> | Tue Oct 04 11:20:50 2011 -0400 |
committer | Theodore Ts'o <tytso@mit.edu> | Tue Oct 04 11:37:46 2011 -0400 |
tree | 97102c31509f2b764e07c958ee2d39d9d6e4119a | |
parent | dba14293d97e61dfbeb0f2ad672ac1f3f4eb2157 [diff] |
libquota: clean up some gcc -Wall warnings Remove unused variables, places where 'return' was used with no value in a non-void function, missing function declarations, etc. Don't assume that all systems have quotactl(), and use <sys/quota.h> if it exists to define the quotactl interfaces. One of the unused variables also got rid of a non-portable use of PATH_MAX. Cc: Aditya Kali <adityakali@google.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>