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$"); | RCSID("$Id$"); | ||||||
| #endif | #endif | ||||||
|  |  | ||||||
|  | #include <unistd.h> | ||||||
| #include <sys/param.h> | #include <sys/param.h> | ||||||
|  |  | ||||||
| #include "protos.h" | #include "protos.h" | ||||||
| #include "roken.h" | #include "roken.h" | ||||||
|  |  | ||||||
| char* | char* | ||||||
| getcwd(char *path, int size) | getcwd(char *path, size_t size) | ||||||
| { | { | ||||||
|     char xxx[MaxPathLen]; |     char xxx[MaxPathLen]; | ||||||
|     char *ret; |     char *ret; | ||||||
|   | |||||||
| @@ -120,8 +120,8 @@ int inet_aton(const char *cp, struct in_addr *adr); | |||||||
| #endif | #endif | ||||||
| #endif | #endif | ||||||
|  |  | ||||||
| #if !defined(HAVE_GETCWD) || defined(BROKEN_GETCWD) | #if !defined(HAVE_GETCWD) | ||||||
| char* getcwd(char *path, int size); | char* getcwd(char *path, size_t size); | ||||||
| #endif | #endif | ||||||
|  |  | ||||||
| #ifndef HAVE_GETENT | #ifndef HAVE_GETENT | ||||||
|   | |||||||
| @@ -120,8 +120,8 @@ int inet_aton(const char *cp, struct in_addr *adr); | |||||||
| #endif | #endif | ||||||
| #endif | #endif | ||||||
|  |  | ||||||
| #if !defined(HAVE_GETCWD) || defined(BROKEN_GETCWD) | #if !defined(HAVE_GETCWD) | ||||||
| char* getcwd(char *path, int size); | char* getcwd(char *path, size_t size); | ||||||
| #endif | #endif | ||||||
|  |  | ||||||
| #ifndef HAVE_GETENT | #ifndef HAVE_GETENT | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Björn Groenvall
					Björn Groenvall