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:
Alejandro Colomar 2022-12-02 17:22:25 +01:00 committed by Iker Pedrosa
parent c26b682381
commit 5e8df2b2b5

View File

@ -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