aboutsummaryrefslogtreecommitdiff
path: root/libiberty/getpwd.c
diff options
context:
space:
mode:
Diffstat (limited to 'libiberty/getpwd.c')
-rw-r--r--libiberty/getpwd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libiberty/getpwd.c b/libiberty/getpwd.c
index 31c7d20..e57ef47 100644
--- a/libiberty/getpwd.c
+++ b/libiberty/getpwd.c
@@ -67,7 +67,7 @@ extern char *getwd ();
yield 0 and set errno. */
char *
-getpwd ()
+getpwd (void)
{
static char *pwd;
static int failure_errno;
@@ -114,7 +114,7 @@ getpwd ()
#endif
char *
-getpwd ()
+getpwd (void)
{
static char *pwd = 0;