OSDN Git Service

test: inet: fix build when res_close support is disabled
[uclinux-h8/uClibc.git] / include / shadow.h
index baad177..9772510 100644 (file)
@@ -12,9 +12,8 @@
    Lesser General Public License for more details.
 
    You should have received a copy of the GNU Lesser General Public
-   License along with the GNU C Library; if not, write to the Free
-   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
-   02111-1307 USA.  */
+   License along with the GNU C Library; if not, see
+   <http://www.gnu.org/licenses/>.  */
 
 /* Declaration of types and functions for shadow password suite.  */
 
@@ -84,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.
 
@@ -92,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.
 
@@ -108,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
@@ -122,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)