Skip to content

Commit

Permalink
lib/gshadow_.h: __STDC__ is always 1
Browse files Browse the repository at this point in the history
We require C11 since a long time ago.

Signed-off-by: Alejandro Colomar <alx@kernel.org>
  • Loading branch information
alejandro-colomar authored and hallyn committed Dec 2, 2024
1 parent 1d64565 commit 212ef97
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions lib/gshadow_.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,23 +30,13 @@ 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 *);
/*@observer@*//*@null@*/struct sgrp *fgetsgent (/*@null@*/FILE *);
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 */

0 comments on commit 212ef97

Please sign in to comment.