]> git.ipfire.org Git - thirdparty/shadow.git/commitdiff
lib/gshadow_.h: __STDC__ is always 1
authorAlejandro Colomar <alx@kernel.org>
Mon, 4 Nov 2024 23:37:03 +0000 (00:37 +0100)
committerSerge Hallyn <serge@hallyn.com>
Mon, 2 Dec 2024 04:04:24 +0000 (22:04 -0600)
We require C11 since a long time ago.

Signed-off-by: Alejandro Colomar <alx@kernel.org>
lib/gshadow_.h

index 68a0bb67979e9fe29978e6008d4c08fe53b0ea8e..2961afcb3aae14d197d39878e97e86cee086f401 100644 (file)
@@ -30,7 +30,6 @@ struct sgrp {
 
 #include <stdio.h>             /* for FILE */
 
-#if __STDC__
 /*@observer@*//*@null@*/struct sgrp *getsgent (void);
 /*@observer@*//*@null@*/struct sgrp *getsgnam (const char *);
 /*@observer@*//*@null@*/struct sgrp *sgetsgent (const char *);
@@ -38,15 +37,6 @@ struct sgrp {
 void setsgent (void);
 void endsgent (void);
 int putsgent (const struct sgrp *, FILE *);
-#else
-/*@observer@*//*@null@*/struct sgrp *getsgent ();
-/*@observer@*//*@null@*/struct sgrp *getsgnam ();
-/*@observer@*//*@null@*/struct sgrp *sgetsgent ();
-/*@observer@*//*@null@*/struct sgrp *fgetsgent ();
-void setsgent ();
-void endsgent ();
-int putsgent ();
-#endif
 
 #define        GSHADOW "/etc/gshadow"
 #endif                         /* ifndef _H_GSHADOW */