summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authormartin <martin@NetBSD.org>2018-08-15 10:21:42 +0000
committermartin <martin@NetBSD.org>2018-08-15 10:21:42 +0000
commitca8ec90bdfa91772b8040fc2b1eaa6e7b67a8510 (patch)
tree56d2219edd71a9ea2354355cbb1d605cf91ca967 /include
parent17d2cf89a11b662a6af62d901a6420fc56016bab (diff)
PR standards/53525: move getsubopt() to stdlib.h
Diffstat (limited to 'include')
-rw-r--r--include/stdlib.h4
-rw-r--r--include/unistd.h3
2 files changed, 4 insertions, 3 deletions
diff --git a/include/stdlib.h b/include/stdlib.h
index 796d5bfdd00..417794901f9 100644
--- a/include/stdlib.h
+++ b/include/stdlib.h
@@ -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 @@ int ttyslot(void);
void *valloc(size_t); /* obsoleted by malloc() */
+int getsubopt(char **, char * const *, char **);
+
int grantpt(int);
int unlockpt(int);
char *ptsname(int);
diff --git a/include/unistd.h b/include/unistd.h
index 4cac9d77450..9cd74f2068d 100644
--- a/include/unistd.h
+++ b/include/unistd.h
@@ -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 *getpassfd(const char *, char *, size_t, int *, int, int);
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 *);