commit 257e7f8f2d0abfb341bcc7fef62ece520c3b3f17
parent f55b311e791cb4d18e10a668cefeb16262a783f5
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:
8 files changed, 0 insertions(+), 9 deletions(-)
diff --git a/batt.c b/batt.c
@@ -1,5 +1,4 @@
#include <err.h>
-#include <stddef.h>
#include <stdio.h>
void
diff --git a/cpu.c b/cpu.c
@@ -1,4 +1,3 @@
-#include <stddef.h>
#include <stdio.h>
#ifdef __OpenBSD__
diff --git a/date.c b/date.c
@@ -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
@@ -1,5 +1,4 @@
#include <err.h>
-#include <stddef.h>
#include <stdio.h>
#ifdef __OpenBSD__
diff --git a/mpd.c b/mpd.c
@@ -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
@@ -1,5 +1,3 @@
-#include <err.h>
-#include <stddef.h>
#include <stdio.h>
#include <unistd.h>
diff --git a/temp.c b/temp.c
@@ -1,5 +1,4 @@
#include <err.h>
-#include <stddef.h>
#include <stdio.h>
#ifdef __OpenBSD__
diff --git a/wifi.c b/wifi.c
@@ -1,5 +1,4 @@
#include <err.h>
-#include <stddef.h>
#include <stdio.h>
void