diff options
| author | martin <martin@NetBSD.org> | 2012-02-22 17:51:01 +0000 |
|---|---|---|
| committer | martin <martin@NetBSD.org> | 2012-02-22 17:51:01 +0000 |
| commit | 9ac2ab0566fe1e80c69a832eca5a62414eb38c64 (patch) | |
| tree | 9593efce3211bb499b622d1be45ed3a0569282d6 /include | |
| parent | 2c8c7e75f8de2cce6fcd8761c9a890dd12257347 (diff) | |
Use C++ compatible declaration for posix_spawn (instead of the C99 specific
posix one).
Diffstat (limited to 'include')
| -rw-r--r-- | include/spawn.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/spawn.h b/include/spawn.h index 90fc33db022..19cdc37d1ab 100644 --- a/include/spawn.h +++ b/include/spawn.h @@ -1,4 +1,4 @@ -/* $NetBSD: spawn.h,v 1.3 2012/02/21 10:54:07 martin Exp $ */ +/* $NetBSD: spawn.h,v 1.4 2012/02/22 17:51:01 martin Exp $ */ /*- * Copyright (c) 2008 Ed Schouten <ed@FreeBSD.org> @@ -40,10 +40,10 @@ __BEGIN_DECLS */ int posix_spawn(pid_t * __restrict, const char * __restrict, const posix_spawn_file_actions_t *, const posix_spawnattr_t * __restrict, - char * const [__conly_restrict], char * const [__conly_restrict]); + char * const *__restrict, char * const *__restrict); int posix_spawnp(pid_t * __restrict, const char * __restrict, const posix_spawn_file_actions_t *, const posix_spawnattr_t * __restrict, - char * const [__conly_restrict], char * const [__conly_restrict]); + char * const *__restrict, char * const *__restrict); /* * File descriptor actions |
