summaryrefslogtreecommitdiff
path: root/gshadow
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@gmail.com>2012-01-07 23:57:22 -0500
committerUlrich Drepper <drepper@gmail.com>2012-01-07 23:57:22 -0500
commita784e502472fb3a1afa4d01a47c66b52d23e00f6 (patch)
tree5ebaa084119dcffe41671a62e2e799b172c57d24 /gshadow
parent33808bf1164be2e7c8535bdd5ac398c75c33ed49 (diff)
Remove pre-ISO C support
No more __const.
Diffstat (limited to 'gshadow')
-rw-r--r--gshadow/gshadow.h12
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);