diff options
Diffstat (limited to 'gshadow/gshadow.h')
-rw-r--r-- | gshadow/gshadow.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gshadow/gshadow.h b/gshadow/gshadow.h index d0b28aeaa3..5179bde639 100644 --- a/gshadow/gshadow.h +++ b/gshadow/gshadow.h @@ -1,4 +1,4 @@ -/* Copyright (C) 2009 Free Software Foundation, Inc. +/* Copyright (C) 2009, 2012 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -76,7 +76,7 @@ extern struct sgrp *getsgent (void); cancellation point. But due to similarity with an POSIX interface or due to the implementation it is a cancellation point and therefore not marked with __THROW. */ -extern struct sgrp *getsgnam (__const char *__name); +extern struct sgrp *getsgnam (const char *__name); /* Read shadow entry from STRING. @@ -84,7 +84,7 @@ extern struct sgrp *getsgnam (__const char *__name); cancellation point. But due to similarity with an POSIX interface or due to the implementation it is a cancellation point and therefore not marked with __THROW. */ -extern struct sgrp *sgetsgent (__const char *__string); +extern struct sgrp *sgetsgent (const char *__string); /* Read next shadow entry from STREAM. @@ -100,7 +100,7 @@ extern struct sgrp *fgetsgent (FILE *__stream); cancellation point. But due to similarity with an POSIX interface or due to the implementation it is a cancellation point and therefore not marked with __THROW. */ -extern int putsgent (__const struct sgrp *__g, FILE *__stream); +extern int putsgent (const struct sgrp *__g, FILE *__stream); #ifdef __USE_MISC @@ -113,11 +113,11 @@ extern int putsgent (__const struct sgrp *__g, FILE *__stream); extern int getsgent_r (struct sgrp *__result_buf, char *__buffer, size_t __buflen, struct sgrp **__result); -extern int getsgnam_r (__const char *__name, struct sgrp *__result_buf, +extern int getsgnam_r (const char *__name, struct sgrp *__result_buf, char *__buffer, size_t __buflen, struct sgrp **__result); -extern int sgetsgent_r (__const char *__string, struct sgrp *__result_buf, +extern int sgetsgent_r (const char *__string, struct sgrp *__result_buf, char *__buffer, size_t __buflen, struct sgrp **__result); |