Assume fputs(3) exists
ISO C99 requires fputs(3). Link: <https://github.com/shadow-maint/shadow/pull/600> Cc: Christian Göttsche <cgzones@googlemail.com> Cc: Iker Pedrosa <ipedrosa@redhat.com> Cc: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Alejandro Colomar <alx@kernel.org>
This commit is contained in:
parent
c26b682381
commit
5e8df2b2b5
@ -249,7 +249,6 @@ static inline void memzero(void *ptr, size_t size)
|
|||||||
|
|
||||||
#ifdef sun /* hacks for compiling on SunOS */
|
#ifdef sun /* hacks for compiling on SunOS */
|
||||||
# ifndef SOLARIS
|
# ifndef SOLARIS
|
||||||
extern int fputs ();
|
|
||||||
extern char *strdup ();
|
extern char *strdup ();
|
||||||
extern char *strerror ();
|
extern char *strerror ();
|
||||||
# endif
|
# endif
|
||||||
|
Loading…
Reference in New Issue
Block a user