Fix warnings
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1073 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -41,13 +41,14 @@
|
||||
RCSID("$Id$");
|
||||
#endif
|
||||
|
||||
#include <unistd.h>
|
||||
#include <sys/param.h>
|
||||
|
||||
#include "protos.h"
|
||||
#include "roken.h"
|
||||
|
||||
char*
|
||||
getcwd(char *path, int size)
|
||||
getcwd(char *path, size_t size)
|
||||
{
|
||||
char xxx[MaxPathLen];
|
||||
char *ret;
|
||||
|
@@ -120,8 +120,8 @@ int inet_aton(const char *cp, struct in_addr *adr);
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if !defined(HAVE_GETCWD) || defined(BROKEN_GETCWD)
|
||||
char* getcwd(char *path, int size);
|
||||
#if !defined(HAVE_GETCWD)
|
||||
char* getcwd(char *path, size_t size);
|
||||
#endif
|
||||
|
||||
#ifndef HAVE_GETENT
|
||||
|
@@ -120,8 +120,8 @@ int inet_aton(const char *cp, struct in_addr *adr);
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if !defined(HAVE_GETCWD) || defined(BROKEN_GETCWD)
|
||||
char* getcwd(char *path, int size);
|
||||
#if !defined(HAVE_GETCWD)
|
||||
char* getcwd(char *path, size_t size);
|
||||
#endif
|
||||
|
||||
#ifndef HAVE_GETENT
|
||||
|
Reference in New Issue
Block a user