X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fsys_wait.in.h;h=ed832534bcbf9d390773eb824106db4116ca9d56;hb=387c96fc38b1985d677a25881ab99a449a00af22;hp=6f0ef3687d526e609afcf86518af70035918c879;hpb=3215ba10fd6dcff44bb0f6748b161f56dcd28d01;p=gnulib.git diff --git a/lib/sys_wait.in.h b/lib/sys_wait.in.h index 6f0ef3687..ed832534b 100644 --- a/lib/sys_wait.in.h +++ b/lib/sys_wait.in.h @@ -1,5 +1,5 @@ /* A POSIX-like . - Copyright (C) 2001-2003, 2005-2010 Free Software Foundation, Inc. + Copyright (C) 2001-2003, 2005-2012 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -12,23 +12,23 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software Foundation, - Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ + along with this program; if not, see . */ -#ifndef _GL_SYS_WAIT_H +#ifndef _@GUARD_PREFIX@_SYS_WAIT_H #if __GNUC__ >= 3 @PRAGMA_SYSTEM_HEADER@ #endif +@PRAGMA_COLUMNS@ /* The include_next requires a split double-inclusion guard. */ #if !((defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__) # @INCLUDE_NEXT@ @NEXT_SYS_WAIT_H@ #endif -#ifndef _GL_SYS_WAIT_H -#define _GL_SYS_WAIT_H +#ifndef _@GUARD_PREFIX@_SYS_WAIT_H +#define _@GUARD_PREFIX@_SYS_WAIT_H /* Get pid_t. */ #include @@ -107,13 +107,10 @@ #endif -#ifdef __cplusplus -extern "C" { -#endif /* Declarations of functions. */ -#if 1 /* @GNULIB_WAITPID@ */ +#if @GNULIB_WAITPID@ # if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__ _GL_FUNCDECL_SYS (waitpid, pid_t, (pid_t pid, int *statusp, int options)); # endif @@ -127,9 +124,6 @@ _GL_WARN_ON_USE (waitpid, "waitpid is unportable - " # endif #endif -#ifdef __cplusplus -} -#endif -#endif /* _GL_SYS_WAIT_H */ -#endif /* _GL_SYS_WAIT_H */ +#endif /* _@GUARD_PREFIX@_SYS_WAIT_H */ +#endif /* _@GUARD_PREFIX@_SYS_WAIT_H */