Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/include Make this include file C++ save, using the new __con...



details:   https://anonhg.NetBSD.org/src/rev/a0d58c18e808
branches:  trunk
changeset: 777509:a0d58c18e808
user:      martin <martin%NetBSD.org@localhost>
date:      Tue Feb 21 10:54:07 2012 +0000

description:
Make this include file C++ save, using the new __conly_restrict.

diffstat:

 include/spawn.h |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (22 lines):

diff -r 5df5934a5c0f -r a0d58c18e808 include/spawn.h
--- a/include/spawn.h   Tue Feb 21 10:53:08 2012 +0000
+++ b/include/spawn.h   Tue Feb 21 10:54:07 2012 +0000
@@ -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@localhost>
@@ -40,10 +40,10 @@
  */
 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



Home | Main Index | Thread Index | Old Index