tIncluding stddef.h for size_t is not needed when also including stdio.h - spoo… | |
git clone git://src.adamsgaard.dk/spoon | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit 257e7f8f2d0abfb341bcc7fef62ece520c3b3f17 | |
parent f55b311e791cb4d18e10a668cefeb16262a783f5 | |
Author: sin <[email protected]> | |
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(-) | |
--- | |
diff --git a/batt.c b/batt.c | |
t@@ -1,5 +1,4 @@ | |
#include <err.h> | |
-#include <stddef.h> | |
#include <stdio.h> | |
void | |
diff --git a/cpu.c b/cpu.c | |
t@@ -1,4 +1,3 @@ | |
-#include <stddef.h> | |
#include <stdio.h> | |
#ifdef __OpenBSD__ | |
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> | |
diff --git a/mix.c b/mix.c | |
t@@ -1,5 +1,4 @@ | |
#include <err.h> | |
-#include <stddef.h> | |
#include <stdio.h> | |
#ifdef __OpenBSD__ | |
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> | |
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> | |
diff --git a/temp.c b/temp.c | |
t@@ -1,5 +1,4 @@ | |
#include <err.h> | |
-#include <stddef.h> | |
#include <stdio.h> | |
#ifdef __OpenBSD__ | |
diff --git a/wifi.c b/wifi.c | |
t@@ -1,5 +1,4 @@ | |
#include <err.h> | |
-#include <stddef.h> | |
#include <stdio.h> | |
void |