Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/include PR standards/53525: move getsubopt() to stdlib.h



details:   https://anonhg.NetBSD.org/src/rev/1ccf1c3a9daa
branches:  trunk
changeset: 834521:1ccf1c3a9daa
user:      martin <martin%NetBSD.org@localhost>
date:      Wed Aug 15 10:21:42 2018 +0000

description:
PR standards/53525: move getsubopt() to stdlib.h

diffstat:

 include/stdlib.h |  4 +++-
 include/unistd.h |  3 +--
 2 files changed, 4 insertions(+), 3 deletions(-)

diffs (35 lines):

diff -r cfd6a6a09104 -r 1ccf1c3a9daa include/stdlib.h
--- a/include/stdlib.h  Wed Aug 15 08:19:18 2018 +0000
+++ b/include/stdlib.h  Wed Aug 15 10:21:42 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: stdlib.h,v 1.119 2017/10/07 21:16:06 christos Exp $    */
+/*     $NetBSD: stdlib.h,v 1.120 2018/08/15 10:21:42 martin Exp $      */
 
 /*-
  * Copyright (c) 1990, 1993
@@ -206,6 +206,8 @@
 
 void   *valloc(size_t);                /* obsoleted by malloc() */
 
+int     getsubopt(char **, char * const *, char **);
+
 int     grantpt(int);
 int     unlockpt(int);
 char   *ptsname(int);
diff -r cfd6a6a09104 -r 1ccf1c3a9daa include/unistd.h
--- a/include/unistd.h  Wed Aug 15 08:19:18 2018 +0000
+++ b/include/unistd.h  Wed Aug 15 10:21:42 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: unistd.h,v 1.149 2018/02/06 20:22:41 christos Exp $    */
+/*     $NetBSD: unistd.h,v 1.150 2018/08/15 10:21:42 martin Exp $      */
 
 /*-
  * Copyright (c) 1998, 1999, 2008 The NetBSD Foundation, Inc.
@@ -355,7 +355,6 @@
 
 char   *getpass_r(const char *, char *, size_t);
 int     getpeereid(int, uid_t *, gid_t *);
-int     getsubopt(char **, char * const *, char **);
 __aconst char *getusershell(void);
 int     initgroups(const char *, gid_t);
 int     iruserok(uint32_t, int, const char *, const char *);



Home | Main Index | Thread Index | Old Index