diff options
author | James Youngman <jay@gnu.org> | 2011-06-05 22:17:54 +0100 |
---|---|---|
committer | James Youngman <jay@gnu.org> | 2011-06-05 22:17:54 +0100 |
commit | 43fc13f467ec166c5b21e6ea1e6b8da961b5abfe (patch) | |
tree | 2ed664ac35924b071876bc8a84a3ce74fdfde0c3 | |
parent | 4bf97e278abb52c77339cc7717ebcf8d98fef0d2 (diff) | |
download | findutils-43fc13f467ec166c5b21e6ea1e6b8da961b5abfe.tar.gz |
Don't include <stddef.h> where it is not used.
* lib/dircallback.c: Don't include <stddef.h>, it's not used.
* lib/extendbuf.c: Likewise.
* lib/qmark.c: Likewise.
* lib/savedirinfo.c: Likewise.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | lib/dircallback.c | 1 | ||||
-rw-r--r-- | lib/extendbuf.c | 1 | ||||
-rw-r--r-- | lib/printquoted.c | 1 | ||||
-rw-r--r-- | lib/qmark.c | 1 | ||||
-rw-r--r-- | lib/savedirinfo.c | 1 |
6 files changed, 6 insertions, 5 deletions
@@ -1,5 +1,11 @@ 2011-06-05 James Youngman <jay@gnu.org> + Don't include <stddef.h> where it is not used. + * lib/dircallback.c: Don't include <stddef.h>, it's not used. + * lib/extendbuf.c: Likewise. + * lib/qmark.c: Likewise. + * lib/savedirinfo.c: Likewise. + Fixes for empty-lines-at-EOF syntax check. * .x-sc_bindtextdomain: Add newline at EOF. * locate/Makefile.am: Remove empty trailing line at EOF. diff --git a/lib/dircallback.c b/lib/dircallback.c index f74e5f6f..bc9d6b95 100644 --- a/lib/dircallback.c +++ b/lib/dircallback.c @@ -25,7 +25,6 @@ #include "dircallback.h" #include "openat.h" #include <stdarg.h> -#include <stddef.h> #include <errno.h> #include <sys/stat.h> #include <locale.h> diff --git a/lib/extendbuf.c b/lib/extendbuf.c index 5236fddb..df9c6c13 100644 --- a/lib/extendbuf.c +++ b/lib/extendbuf.c @@ -20,7 +20,6 @@ #include <config.h> -#include <stddef.h> #include <stdlib.h> #include <assert.h> #include <errno.h> diff --git a/lib/printquoted.c b/lib/printquoted.c index f3ac8f16..fb1f5b1b 100644 --- a/lib/printquoted.c +++ b/lib/printquoted.c @@ -20,7 +20,6 @@ #include <config.h> -#include <stddef.h> #include <stdlib.h> #include <stdio.h> diff --git a/lib/qmark.c b/lib/qmark.c index 06650ae3..b55f134f 100644 --- a/lib/qmark.c +++ b/lib/qmark.c @@ -21,7 +21,6 @@ #include <config.h> -#include <stddef.h> #include <stdlib.h> #include <ctype.h> #include <string.h> diff --git a/lib/savedirinfo.c b/lib/savedirinfo.c index 7dd4d163..505276a7 100644 --- a/lib/savedirinfo.c +++ b/lib/savedirinfo.c @@ -35,7 +35,6 @@ # define CLOSEDIR(d) closedir (d) #endif -#include <stddef.h> #include <stdlib.h> #include <string.h> |