OSDN Git Service
(root)
/
uclinux-h8
/
uClibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb65c1d
)
getttyent.c: include stdio_ext.h only when needed
author
Peter S. Mazinger
<ps.m@gmx.net>
Mon, 21 Mar 2011 15:29:30 +0000
(16:29 +0100)
committer
Bernhard Reutner-Fischer
<rep.dot.nop@gmail.com>
Fri, 15 Jun 2012 12:00:30 +0000
(14:00 +0200)
do not include pthread.h as the locking macro is provided by stdio.h
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
libc/misc/ttyent/getttyent.c
patch
|
blob
|
history
diff --git
a/libc/misc/ttyent/getttyent.c
b/libc/misc/ttyent/getttyent.c
index
474f7f0
..
0441cb6
100644
(file)
--- a/
libc/misc/ttyent/getttyent.c
+++ b/
libc/misc/ttyent/getttyent.c
@@
-30,12
+30,11
@@
#include <features.h>
#include <ttyent.h>
#include <stdio.h>
-#include <stdio_ext.h>
#include <ctype.h>
#include <string.h>
#include <stdlib.h>
#ifdef __UCLIBC_HAS_THREADS__
-# include <
pthread
.h>
+# include <
stdio_ext
.h>
#endif
static char zapchar;