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/cc1453ae24e9
branches: trunk
changeset: 992139:cc1453ae24e9
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 ddfb9dfe50f5 -r cc1453ae24e9 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 ddfb9dfe50f5 -r cc1453ae24e9 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