]> git.ipfire.org Git - thirdparty/shadow.git/commitdiff
Assume fputs(3) exists
authorAlejandro Colomar <alx@kernel.org>
Fri, 2 Dec 2022 16:22:25 +0000 (17:22 +0100)
committerIker Pedrosa <ikerpedrosam@gmail.com>
Mon, 12 Dec 2022 08:16:43 +0000 (09:16 +0100)
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>
lib/defines.h

index e059944dcbada9885ebab121f7d1934db4c0bb45..74162f472585eca26a25705ab09bad71b4935576 100644 (file)
@@ -249,7 +249,6 @@ static inline void memzero(void *ptr, size_t size)
 
 #ifdef sun                     /* hacks for compiling on SunOS */
 # ifndef SOLARIS
-extern int fputs ();
 extern char *strdup ();
 extern char *strerror ();
 # endif