From 1c6a4e29435e50d5fa4c1a97ad6109286decf3bf Mon Sep 17 00:00:00 2001 From: kib Date: Wed, 21 Apr 2010 16:38:37 +0000 Subject: [PATCH] Move realpath(3) prototype to a POSIX section. Noted by: bde MFC after: 2 weeks --- include/stdlib.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/stdlib.h b/include/stdlib.h index b833203c65ba25..3c48f1746f8e4e 100644 --- a/include/stdlib.h +++ b/include/stdlib.h @@ -155,6 +155,7 @@ void _Exit(int) __dead2; #if __POSIX_VISIBLE /* >= ??? */ int posix_memalign(void **, size_t, size_t); /* (ADV) */ int rand_r(unsigned *); /* (TSF) */ +char *realpath(const char * __restrict, char * __restrict); int setenv(const char *, const char *, int); int unsetenv(const char *); #endif @@ -201,7 +202,6 @@ int posix_openpt(int); char *ptsname(int); int putenv(char *); long random(void); -char *realpath(const char * __restrict, char * __restrict); unsigned short *seed48(unsigned short[3]); #ifndef _SETKEY_DECLARED