summaryrefslogtreecommitdiff
path: root/include/shadow.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/shadow.h')
-rw-r--r--include/shadow.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/shadow.h b/include/shadow.h
index 716897eb3..97725102f 100644
--- a/include/shadow.h
+++ b/include/shadow.h
@@ -83,7 +83,7 @@ extern struct spwd *getspent (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 spwd *getspnam (__const char *__name);
+extern struct spwd *getspnam (const char *__name);
/* Read shadow entry from STRING.
@@ -91,7 +91,7 @@ extern struct spwd *getspnam (__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 spwd *sgetspent (__const char *__string);
+extern struct spwd *sgetspent (const char *__string);
/* Read next shadow entry from STREAM.
@@ -107,7 +107,7 @@ extern struct spwd *fgetspent (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 putspent (__const struct spwd *__p, FILE *__stream);
+extern int putspent (const struct spwd *__p, FILE *__stream);
#ifdef __USE_MISC
@@ -121,12 +121,12 @@ extern int getspent_r (struct spwd *__result_buf, char *__buffer,
size_t __buflen, struct spwd **__result);
libc_hidden_proto(getspent_r)
-extern int getspnam_r (__const char *__name, struct spwd *__result_buf,
+extern int getspnam_r (const char *__name, struct spwd *__result_buf,
char *__buffer, size_t __buflen,
struct spwd **__result);
libc_hidden_proto(getspnam_r)
-extern int sgetspent_r (__const char *__string, struct spwd *__result_buf,
+extern int sgetspent_r (const char *__string, struct spwd *__result_buf,
char *__buffer, size_t __buflen,
struct spwd **__result);
libc_hidden_proto(sgetspent_r)