diff options
author | Stéphane Aulery <saulery@free.fr> | 2014-11-27 14:52:11 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2014-12-04 10:23:33 +0100 |
commit | 582a2070a7f792f044fd1ee07a8e0bcfbfa32ee4 (patch) | |
tree | d2b31de574dbb0de144831962eac6a7e1d1eceb1 | |
parent | 91674805aedfb63984a0e1d02b4bb05546ab3db2 (diff) | |
download | fbida-582a2070a7f792f044fd1ee07a8e0bcfbfa32ee4.tar.gz |
Add missing stddef.h header
- misc.h use offsetof()
- other use NUUL, size_t and wchar_t
Signed-off-by: Stéphane Aulery <saulery@free.fr>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
-rw-r--r-- | RegEdit.c | 1 | ||||
-rw-r--r-- | color.c | 1 | ||||
-rw-r--r-- | curl.c | 1 | ||||
-rw-r--r-- | desktop.c | 1 | ||||
-rw-r--r-- | fb-gui.c | 1 | ||||
-rw-r--r-- | fbi.c | 1 | ||||
-rw-r--r-- | fbiconfig.c | 1 | ||||
-rw-r--r-- | fbtools.c | 1 | ||||
-rw-r--r-- | filebutton.c | 1 | ||||
-rw-r--r-- | filelist.c | 1 | ||||
-rw-r--r-- | hex.c | 1 | ||||
-rw-r--r-- | ida.c | 1 | ||||
-rw-r--r-- | idaconfig.c | 1 | ||||
-rw-r--r-- | lirc.c | 1 | ||||
-rw-r--r-- | man.c | 1 | ||||
-rw-r--r-- | misc.h | 1 | ||||
-rw-r--r-- | op.c | 1 | ||||
-rw-r--r-- | parseconfig.c | 1 | ||||
-rw-r--r-- | rd/magick.c | 1 | ||||
-rw-r--r-- | rd/read-bmp.c | 1 | ||||
-rw-r--r-- | rd/read-gif.c | 1 | ||||
-rw-r--r-- | rd/read-pcd.c | 1 | ||||
-rw-r--r-- | rd/read-png.c | 1 | ||||
-rw-r--r-- | rd/read-ppm.c | 1 | ||||
-rw-r--r-- | rd/read-tiff.c | 1 | ||||
-rw-r--r-- | rd/read-webp.c | 1 | ||||
-rw-r--r-- | rd/read-xpm.c | 1 | ||||
-rw-r--r-- | readers.c | 1 | ||||
-rw-r--r-- | sane.c | 1 | ||||
-rw-r--r-- | selections.c | 1 | ||||
-rw-r--r-- | thumbnail.cgi.c | 1 | ||||
-rw-r--r-- | viewer.c | 1 | ||||
-rw-r--r-- | wr/write-png.c | 1 | ||||
-rw-r--r-- | wr/write-ppm.c | 1 | ||||
-rw-r--r-- | wr/write-ps.c | 1 | ||||
-rw-r--r-- | wr/write-tiff.c | 1 | ||||
-rw-r--r-- | x11.c | 1 | ||||
-rw-r--r-- | xdnd.c | 1 |
38 files changed, 38 insertions, 0 deletions
@@ -26,6 +26,7 @@ * HISTORY */ #include <stdio.h> +#include <stddef.h> #include <Xm/XmP.h> #include <X11/ShellP.h> #include "RegEdit.h" @@ -1,5 +1,6 @@ #include <stdio.h> #include <stdlib.h> +#include <stddef.h> #include <unistd.h> #include <math.h> @@ -1,5 +1,6 @@ #include <stdio.h> #include <stdlib.h> +#include <stddef.h> #include <unistd.h> #include <string.h> #include <time.h> @@ -11,6 +11,7 @@ */ #include <stdio.h> #include <stdlib.h> +#include <stddef.h> #include <unistd.h> #include <string.h> #include <errno.h> @@ -1,5 +1,6 @@ #include <stdio.h> #include <stdlib.h> +#include <stddef.h> #include <string.h> #include <math.h> #include <wchar.h> @@ -7,6 +7,7 @@ #include <stdio.h> #include <stdlib.h> +#include <stddef.h> #include <string.h> #include <unistd.h> #include <time.h> diff --git a/fbiconfig.c b/fbiconfig.c index fb41f08..bfe27b8 100644 --- a/fbiconfig.c +++ b/fbiconfig.c @@ -1,5 +1,6 @@ #include <stdio.h> #include <stdlib.h> +#include <stddef.h> #include <unistd.h> #include <string.h> #include <sys/stat.h> @@ -5,6 +5,7 @@ #include <stdio.h> #include <stdlib.h> +#include <stddef.h> #include <string.h> #include <unistd.h> #include <fcntl.h> diff --git a/filebutton.c b/filebutton.c index b09d730..4e68df0 100644 --- a/filebutton.c +++ b/filebutton.c @@ -1,5 +1,6 @@ #include <stdio.h> #include <stdlib.h> +#include <stddef.h> #include <unistd.h> #include <errno.h> @@ -6,6 +6,7 @@ #include <stdio.h> #include <stdlib.h> +#include <stddef.h> #include <unistd.h> #include <dirent.h> #include <errno.h> @@ -7,6 +7,7 @@ */ #include <stdio.h> +#include <stddef.h> #include <ctype.h> #include <X11/Xlib.h> @@ -1,5 +1,6 @@ #include <stdio.h> #include <stdlib.h> +#include <stddef.h> #include <unistd.h> #include <errno.h> #include <signal.h> diff --git a/idaconfig.c b/idaconfig.c index 56b97d8..8f3ae42 100644 --- a/idaconfig.c +++ b/idaconfig.c @@ -1,5 +1,6 @@ #include <stdio.h> #include <stdlib.h> +#include <stddef.h> #include <unistd.h> #include <string.h> #include <sys/stat.h> @@ -1,5 +1,6 @@ #include <stdio.h> #include <stdlib.h> +#include <stddef.h> #include <string.h> #include <unistd.h> #include <errno.h> @@ -5,6 +5,7 @@ */ #include <stdio.h> +#include <stddef.h> #include <X11/Xlib.h> #include <X11/Intrinsic.h> @@ -1,6 +1,7 @@ /* * misc useful #defines ... */ +#include <stddef.h> #define container_of(ptr, type, member) ({ \ const typeof( ((type *)0)->member ) *__mptr = (ptr); \ @@ -1,5 +1,6 @@ #include <stdio.h> #include <stdlib.h> +#include <stddef.h> #include <string.h> #include "readers.h" diff --git a/parseconfig.c b/parseconfig.c index 2ae403e..6163ede 100644 --- a/parseconfig.c +++ b/parseconfig.c @@ -7,6 +7,7 @@ #include <stdio.h> #include <stdlib.h> +#include <stddef.h> #include <string.h> #include <unistd.h> #include <errno.h> diff --git a/rd/magick.c b/rd/magick.c index f17e5e3..e8a0caf 100644 --- a/rd/magick.c +++ b/rd/magick.c @@ -1,5 +1,6 @@ #include <stdio.h> #include <stdlib.h> +#include <stddef.h> #include <magick/api.h> #include "loader.h" diff --git a/rd/read-bmp.c b/rd/read-bmp.c index 30b5574..55d8c33 100644 --- a/rd/read-bmp.c +++ b/rd/read-bmp.c @@ -1,5 +1,6 @@ #include <stdio.h> #include <stdlib.h> +#include <stddef.h> #include <string.h> #include <errno.h> #ifdef HAVE_ENDIAN_H diff --git a/rd/read-gif.c b/rd/read-gif.c index 2ea2947..27c53a8 100644 --- a/rd/read-gif.c +++ b/rd/read-gif.c @@ -1,5 +1,6 @@ #include <stdio.h> #include <stdlib.h> +#include <stddef.h> #include <string.h> #include <gif_lib.h> diff --git a/rd/read-pcd.c b/rd/read-pcd.c index 40c43d5..7f3c95e 100644 --- a/rd/read-pcd.c +++ b/rd/read-pcd.c @@ -1,5 +1,6 @@ #include <stdio.h> #include <stdlib.h> +#include <stddef.h> #include <string.h> #include <errno.h> #include "pcd.h" diff --git a/rd/read-png.c b/rd/read-png.c index 990ce7e..f06ed6d 100644 --- a/rd/read-png.c +++ b/rd/read-png.c @@ -1,5 +1,6 @@ #include <stdio.h> #include <stdlib.h> +#include <stddef.h> #include <string.h> #include <errno.h> #include <png.h> diff --git a/rd/read-ppm.c b/rd/read-ppm.c index bdfea1f..3806747 100644 --- a/rd/read-ppm.c +++ b/rd/read-ppm.c @@ -1,5 +1,6 @@ #include <stdio.h> #include <stdlib.h> +#include <stddef.h> #include <string.h> #include <errno.h> diff --git a/rd/read-tiff.c b/rd/read-tiff.c index b88b10c..0742178 100644 --- a/rd/read-tiff.c +++ b/rd/read-tiff.c @@ -1,5 +1,6 @@ #include <stdio.h> #include <stdlib.h> +#include <stddef.h> #include <string.h> #include <inttypes.h> #include <tiffio.h> diff --git a/rd/read-webp.c b/rd/read-webp.c index 0dfe372..6682a3b 100644 --- a/rd/read-webp.c +++ b/rd/read-webp.c @@ -1,5 +1,6 @@ #include <stdlib.h> #include <stdio.h> +#include <stddef.h> #include <errno.h> #include <webp/decode.h> diff --git a/rd/read-xpm.c b/rd/read-xpm.c index affdce6..61e33da 100644 --- a/rd/read-xpm.c +++ b/rd/read-xpm.c @@ -1,5 +1,6 @@ #include <stdio.h> #include <stdlib.h> +#include <stddef.h> #include <string.h> #include <errno.h> @@ -1,5 +1,6 @@ #include <stdio.h> #include <stdlib.h> +#include <stddef.h> #include <string.h> #include "readers.h" @@ -1,5 +1,6 @@ #include <stdio.h> #include <stdlib.h> +#include <stddef.h> #include <string.h> #include <errno.h> #include <sane/sane.h> diff --git a/selections.c b/selections.c index af0c506..4803994 100644 --- a/selections.c +++ b/selections.c @@ -1,5 +1,6 @@ #include <stdio.h> #include <stdlib.h> +#include <stddef.h> #include <unistd.h> #include <errno.h> diff --git a/thumbnail.cgi.c b/thumbnail.cgi.c index b10ab5b..60fc31f 100644 --- a/thumbnail.cgi.c +++ b/thumbnail.cgi.c @@ -1,5 +1,6 @@ #include <stdio.h> #include <stdlib.h> +#include <stddef.h> #include <unistd.h> #include <string.h> #include <errno.h> @@ -1,5 +1,6 @@ #include <stdio.h> #include <stdlib.h> +#include <stddef.h> #include <unistd.h> #include <string.h> #include <errno.h> diff --git a/wr/write-png.c b/wr/write-png.c index 39bfcff..c8643a5 100644 --- a/wr/write-png.c +++ b/wr/write-png.c @@ -1,5 +1,6 @@ #include <stdio.h> #include <stdlib.h> +#include <stddef.h> #include <string.h> #include <errno.h> #include <png.h> diff --git a/wr/write-ppm.c b/wr/write-ppm.c index bd5a0f0..016f0ba 100644 --- a/wr/write-ppm.c +++ b/wr/write-ppm.c @@ -1,5 +1,6 @@ #include <stdio.h> #include <stdlib.h> +#include <stddef.h> #include <string.h> #include <errno.h> diff --git a/wr/write-ps.c b/wr/write-ps.c index adbf72a..261a092 100644 --- a/wr/write-ps.c +++ b/wr/write-ps.c @@ -1,5 +1,6 @@ #include <stdio.h> #include <stdlib.h> +#include <stddef.h> #include <string.h> #include <errno.h> #include <inttypes.h> diff --git a/wr/write-tiff.c b/wr/write-tiff.c index 9d4910e..29d0788 100644 --- a/wr/write-tiff.c +++ b/wr/write-tiff.c @@ -1,5 +1,6 @@ #include <stdio.h> #include <stdlib.h> +#include <stddef.h> #include <string.h> #include <inttypes.h> #include <tiffio.h> @@ -22,6 +22,7 @@ #include <stdio.h> #include <stdlib.h> +#include <stddef.h> #include <errno.h> #include <sys/types.h> #include <sys/socket.h> @@ -32,6 +32,7 @@ #include <stdio.h> #include <stdlib.h> +#include <stddef.h> #include <unistd.h> #include <X11/Intrinsic.h> |