diff options
| author | martin <martin@NetBSD.org> | 2012-02-21 10:54:07 +0000 |
|---|---|---|
| committer | martin <martin@NetBSD.org> | 2012-02-21 10:54:07 +0000 |
| commit | 5c46ea27d442e697b92be522b3fa02f6c0df3008 (patch) | |
| tree | c34370560bcf30c8adf180614a5de3b211524a9d /include/spawn.h | |
| parent | 61102003422ce52bc01f4478ddecdb874ce45af7 (diff) | |
Make this include file C++ save, using the new __conly_restrict.
Diffstat (limited to 'include/spawn.h')
| -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 fa9085b5b42..90fc33db022 100644 --- a/include/spawn.h +++ b/include/spawn.h @@ -1,4 +1,4 @@ -/* $NetBSD: spawn.h,v 1.2 2012/02/20 09:28:43 martin Exp $ */ +/* $NetBSD: spawn.h,v 1.3 2012/02/21 10:54:07 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 [__restrict], char * const [__restrict]); + char * const [__conly_restrict], char * const [__conly_restrict]); int posix_spawnp(pid_t * __restrict, const char * __restrict, const posix_spawn_file_actions_t *, const posix_spawnattr_t * __restrict, - char * const [__restrict], char * const [__restrict]); + char * const [__conly_restrict], char * const [__conly_restrict]); /* * File descriptor actions |
