summaryrefslogtreecommitdiff
path: root/src/stdio
diff options
context:
space:
mode:
Diffstat (limited to 'src/stdio')
-rw-r--r--src/stdio/L_ctermid.h1
-rw-r--r--src/stdio/L_cuserid.h1
-rw-r--r--src/stdio/P_tmpdir.h1
-rw-r--r--src/stdio/__printf.c12
4 files changed, 6 insertions, 9 deletions
diff --git a/src/stdio/L_ctermid.h b/src/stdio/L_ctermid.h
index f280b586..6a4510df 100644
--- a/src/stdio/L_ctermid.h
+++ b/src/stdio/L_ctermid.h
@@ -1,4 +1,3 @@
-#include <stdio.h>
#define L_ctermid (255)
/*
POSIX(1)
diff --git a/src/stdio/L_cuserid.h b/src/stdio/L_cuserid.h
index 27425cac..cbec2ab8 100644
--- a/src/stdio/L_cuserid.h
+++ b/src/stdio/L_cuserid.h
@@ -1,4 +1,3 @@
-#include <stdio.h>
#define L_cuserid (255)
/*
POSIX(1,200112)
diff --git a/src/stdio/P_tmpdir.h b/src/stdio/P_tmpdir.h
index 9ff77865..b41d9627 100644
--- a/src/stdio/P_tmpdir.h
+++ b/src/stdio/P_tmpdir.h
@@ -1,4 +1,3 @@
-#include <stdio.h>
#define P_tmpdir "/tmp"
/*
XOPEN(4)
diff --git a/src/stdio/__printf.c b/src/stdio/__printf.c
index 38dd012b..7da38752 100644
--- a/src/stdio/__printf.c
+++ b/src/stdio/__printf.c
@@ -1,18 +1,18 @@
#include "stdio.h"
#include "_stdio.h"
#include "stddef.h"
-#include "wctype/wint_t.c"
-#include "wctype/wctrans_t.c"
+#include "wctype/wint_t.h"
+#include "wctype/wctrans_t.h"
#include "wchar.h"
#include "inttypes.h"
#include "unistd.h"
#include "stdlib.h"
#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199909L
-#include "stdint/intmax_t.c"
-#include "stdint/uintmax_t.c"
-#include "stdint/intptr_t.c"
-#include "stdint/UINTMAX_MAX.c"
+#include "stdint/intmax_t.h"
+#include "stdint/uintmax_t.h"
+#include "stdint/intptr_t.h"
+#include "stdint/UINTMAX_MAX.h"
#define strtoumax __strtoumax
#include "inttypes/strtoumax.c"
#endif