tIncluding stddef.h for size_t is not needed when also including stdio.h - spoon - dwm status utility (2f30 fork) (HTM) git clone git://src.adamsgaard.dk/spoon (DIR) Log (DIR) Files (DIR) Refs (DIR) LICENSE --- (DIR) commit 257e7f8f2d0abfb341bcc7fef62ece520c3b3f17 (DIR) parent f55b311e791cb4d18e10a668cefeb16262a783f5 (HTM) Author: sin <sin@2f30.org> Date: Thu, 13 Oct 2016 17:11:06 +0100 Including stddef.h for size_t is not needed when also including stdio.h POSIX guarantees size_t is also available via stdio.h Diffstat: M batt.c | 1 - M cpu.c | 1 - M date.c | 1 - M mix.c | 1 - M mpd.c | 1 - M spoon.c | 2 -- M temp.c | 1 - M wifi.c | 1 - 8 files changed, 0 insertions(+), 9 deletions(-) --- (DIR) diff --git a/batt.c b/batt.c t@@ -1,5 +1,4 @@ #include <err.h> -#include <stddef.h> #include <stdio.h> void (DIR) diff --git a/cpu.c b/cpu.c t@@ -1,4 +1,3 @@ -#include <stddef.h> #include <stdio.h> #ifdef __OpenBSD__ (DIR) diff --git a/date.c b/date.c t@@ -1,6 +1,5 @@ #include <sys/types.h> -#include <stddef.h> #include <stdio.h> #include <time.h> (DIR) diff --git a/mix.c b/mix.c t@@ -1,5 +1,4 @@ #include <err.h> -#include <stddef.h> #include <stdio.h> #ifdef __OpenBSD__ (DIR) diff --git a/mpd.c b/mpd.c t@@ -1,5 +1,4 @@ #include <err.h> -#include <stddef.h> #include <stdio.h> #include <mpd/client.h> (DIR) diff --git a/spoon.c b/spoon.c t@@ -1,5 +1,3 @@ -#include <err.h> -#include <stddef.h> #include <stdio.h> #include <unistd.h> (DIR) diff --git a/temp.c b/temp.c t@@ -1,5 +1,4 @@ #include <err.h> -#include <stddef.h> #include <stdio.h> #ifdef __OpenBSD__ (DIR) diff --git a/wifi.c b/wifi.c t@@ -1,5 +1,4 @@ #include <err.h> -#include <stddef.h> #include <stdio.h> void