Add protection against multiple inclusions.
This commit is contained in:
parent
3ca3362283
commit
297fa24b90
@ -1,3 +1,7 @@
|
|||||||
|
2008-05-26 Nicolas François <nicolas.francois@centraliens.net>
|
||||||
|
|
||||||
|
* lib/groupio.h: Add protection against multiple inclusions.
|
||||||
|
|
||||||
2008-05-26 Nicolas François <nicolas.francois@centraliens.net>
|
2008-05-26 Nicolas François <nicolas.francois@centraliens.net>
|
||||||
|
|
||||||
* lib/pwio.h: Add protection against multiple inclusions.
|
* lib/pwio.h: Add protection against multiple inclusions.
|
||||||
|
@ -31,7 +31,12 @@
|
|||||||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/* $Id$ */
|
||||||
|
#ifndef _GROUPIO_H
|
||||||
|
#define _GROUPIO_H
|
||||||
|
|
||||||
#include <grp.h>
|
#include <grp.h>
|
||||||
|
|
||||||
extern int gr_close (void);
|
extern int gr_close (void);
|
||||||
extern const struct group *gr_locate (const char *);
|
extern const struct group *gr_locate (const char *);
|
||||||
extern const struct group *gr_locate_gid (gid_t gid);
|
extern const struct group *gr_locate_gid (gid_t gid);
|
||||||
@ -45,3 +50,4 @@ extern int gr_unlock (void);
|
|||||||
extern int gr_update (const struct group *);
|
extern int gr_update (const struct group *);
|
||||||
extern int gr_sort (void);
|
extern int gr_sort (void);
|
||||||
|
|
||||||
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user