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

This commit is contained in:
martin 2018-08-15 10:21:42 +00:00
parent ed5b5e58ce
commit a9fb6a0f33
2 changed files with 4 additions and 3 deletions

View File

@ -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);

View File

@ -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 *);