diff --git a/lib/roken/roken.h b/lib/roken/roken.h index ad04e983e..4f804303e 100644 --- a/lib/roken/roken.h +++ b/lib/roken/roken.h @@ -12,7 +12,7 @@ int setenv(const char *var, const char *val, int rewrite); #endif #ifndef HAVE_GETUSERSHELL -char *getusershell __P((void)); +char *getusershell(void); #endif #ifndef HAVE_STRDUP @@ -47,7 +47,7 @@ int inet_aton(char *cp, struct in_addr *adr); #endif #endif -#if !defined(HAVE_GETCWD) || defined(BROKEN_GETCWD) +#if !defined(HAVE_GETCWD) char* getcwd(char *path, int size); #endif diff --git a/lib/roken/roken.h.in b/lib/roken/roken.h.in index ad04e983e..4f804303e 100644 --- a/lib/roken/roken.h.in +++ b/lib/roken/roken.h.in @@ -12,7 +12,7 @@ int setenv(const char *var, const char *val, int rewrite); #endif #ifndef HAVE_GETUSERSHELL -char *getusershell __P((void)); +char *getusershell(void); #endif #ifndef HAVE_STRDUP @@ -47,7 +47,7 @@ int inet_aton(char *cp, struct in_addr *adr); #endif #endif -#if !defined(HAVE_GETCWD) || defined(BROKEN_GETCWD) +#if !defined(HAVE_GETCWD) char* getcwd(char *path, int size); #endif