From owner-svn-src-all@FreeBSD.ORG Wed Apr 21 16:38:37 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E600F106564A; Wed, 21 Apr 2010 16:38:37 +0000 (UTC) (envelope-from kib@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id D58C18FC08; Wed, 21 Apr 2010 16:38:37 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o3LGcbK0008133; Wed, 21 Apr 2010 16:38:37 GMT (envelope-from kib@svn.freebsd.org) Received: (from kib@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o3LGcbAd008132; Wed, 21 Apr 2010 16:38:37 GMT (envelope-from kib@svn.freebsd.org) Message-Id: <201004211638.o3LGcbAd008132@svn.freebsd.org> From: Konstantin Belousov Date: Wed, 21 Apr 2010 16:38:37 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r206997 - head/include X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Apr 2010 16:38:38 -0000 Author: kib Date: Wed Apr 21 16:38:37 2010 New Revision: 206997 URL: http://svn.freebsd.org/changeset/base/206997 Log: Move realpath(3) prototype to a POSIX section. Noted by: bde MFC after: 2 weeks Modified: head/include/stdlib.h Modified: head/include/stdlib.h ============================================================================== --- head/include/stdlib.h Wed Apr 21 12:17:01 2010 (r206996) +++ head/include/stdlib.h Wed Apr 21 16:38:37 2010 (r206997) @@ -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