diff options
author | Richard PALO <richard@NetBSD.org> | 2015-04-04 09:53:50 +0200 |
---|---|---|
committer | Dan McDonald <danmcd@omniti.com> | 2015-10-06 14:06:44 -0400 |
commit | 10a6478a64c986fe8b918521951c9068ed5588fe (patch) | |
tree | 21f98c9eece11c86e5173246458bf41ebbf5441b /usr/src/lib/libc | |
parent | 2545d10d08f1bf15162c2c0998fcae535d08c0d9 (diff) | |
download | illumos-joyent-10a6478a64c986fe8b918521951c9068ed5588fe.tar.gz |
5855 fix __RESTRICT_KYWD to support the correct keyword with c++
Reviewed by: Igor Kozhukhov <ikozhukhov@gmail.com>
Reviewed by: Josef Sipek <jeffpc@josefsipek.net>
Approved by: Dan McDonald <danmcd@omniti.com>
Diffstat (limited to 'usr/src/lib/libc')
-rw-r--r-- | usr/src/lib/libc/port/threads/spawn.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr/src/lib/libc/port/threads/spawn.c b/usr/src/lib/libc/port/threads/spawn.c index 7f12a5866f..f578896bec 100644 --- a/usr/src/lib/libc/port/threads/spawn.c +++ b/usr/src/lib/libc/port/threads/spawn.c @@ -280,8 +280,8 @@ posix_spawn( const char *path, const posix_spawn_file_actions_t *file_actions, const posix_spawnattr_t *attrp, - char *const argv[], - char *const envp[]) + char *const *argv, + char *const *envp) { spawn_attr_t *sap = attrp? attrp->__spawn_attrp : NULL; file_attr_t *fap = file_actions? file_actions->__file_attrp : NULL; @@ -374,8 +374,8 @@ posix_spawnp( const char *file, const posix_spawn_file_actions_t *file_actions, const posix_spawnattr_t *attrp, - char *const argv[], - char *const envp[]) + char *const *argv, + char *const *envp) { spawn_attr_t *sap = attrp? attrp->__spawn_attrp : NULL; file_attr_t *fap = file_actions? file_actions->__file_attrp : NULL; |