projects
/
debian
/
tar
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
patch from upstream to restore SIGPIPE default action
[debian/tar]
/
lib
/
sys_time.in.h
diff --git
a/lib/sys_time.in.h
b/lib/sys_time.in.h
index 6426793d39a870a2f7cc0d5e0b5167ff3b6b5d0c..6db7ba8e3567bcea81d1b7de8cce9e308ccb69f1 100644
(file)
--- a/
lib/sys_time.in.h
+++ b/
lib/sys_time.in.h
@@
-2,7
+2,7
@@
/* DO NOT EDIT! GENERATED AUTOMATICALLY! */
/* Provide a more complete sys/time.h.
/* DO NOT EDIT! GENERATED AUTOMATICALLY! */
/* Provide a more complete sys/time.h.
- Copyright (C) 2007 Free Software Foundation, Inc.
+ Copyright (C) 2007
-2008
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
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
@@
-20,6
+20,10
@@
/* Written by Paul Eggert. */
/* Written by Paul Eggert. */
+#if __GNUC__ >= 3
+@PRAGMA_SYSTEM_HEADER@
+#endif
+
#if defined _GL_SYS_TIME_H
/* Simply delegate to the system's header, without adding anything. */
#if defined _GL_SYS_TIME_H
/* Simply delegate to the system's header, without adding anything. */
@@
-37,6
+41,10
@@
# include <time.h>
# endif
# include <time.h>
# endif
+#ifdef __cplusplus
+extern "C" {
+#endif
+
# if ! @HAVE_STRUCT_TIMEVAL@
struct timeval
{
# if ! @HAVE_STRUCT_TIMEVAL@
struct timeval
{
@@
-51,4
+59,8
@@
struct timeval
int gettimeofday (struct timeval *restrict, void *restrict);
# endif
int gettimeofday (struct timeval *restrict, void *restrict);
# endif
+#ifdef __cplusplus
+}
+#endif
+
#endif /* _GL_SYS_TIME_H */
#endif /* _GL_SYS_TIME_H */