Module Name: src
Committed By: martin
Date: Tue Feb 21 10:54:07 UTC 2012
Modified Files:
src/include: spawn.h
Log Message:
Make this include file C++ save, using the new __conly_restrict.
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/include/spawn.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/include/spawn.h
diff -u src/include/spawn.h:1.2 src/include/spawn.h:1.3
--- src/include/spawn.h:1.2 Mon Feb 20 09:28:43 2012
+++ src/include/spawn.h Tue Feb 21 10:54:07 2012
@@ -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 <[email protected]>
@@ -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