2009-09-15 Ralf Corsépius <ralf.corsepius@rtems.org>

* libcsupport/src/getpwent.c: Ansify.
This commit is contained in:
Ralf Corsepius
2009-09-15 04:18:40 +00:00
parent 0f4de1e33b
commit 37008d0686
2 changed files with 6 additions and 2 deletions

View File

@@ -1,3 +1,7 @@
2009-09-15 Ralf Corsépius <ralf.corsepius@rtems.org>
* libcsupport/src/getpwent.c: Ansify.
2009-09-14 Sebastian Huber <Sebastian.Huber@embedded-brains.de> 2009-09-14 Sebastian Huber <Sebastian.Huber@embedded-brains.de>
* score/src/heapalignupuptr.c, score/src/heapallocatealigned.c: * score/src/heapalignupuptr.c, score/src/heapallocatealigned.c:

View File

@@ -259,7 +259,7 @@ struct passwd *getpwuid(
return p; return p;
} }
struct passwd *getpwent() struct passwd *getpwent(void)
{ {
if (passwd_fp == NULL) if (passwd_fp == NULL)
return NULL; return NULL;
@@ -418,7 +418,7 @@ struct group *getgrgid(
return p; return p;
} }
struct group *getgrent() struct group *getgrent(void)
{ {
if (group_fp == NULL) if (group_fp == NULL)
return NULL; return NULL;