summaryrefslogtreecommitdiff
path: root/include/unistd.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/unistd.h')
-rw-r--r--include/unistd.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/include/unistd.h b/include/unistd.h
index 2403db1..05b6688 100644
--- a/include/unistd.h
+++ b/include/unistd.h
@@ -5,9 +5,7 @@
5 5
6#if defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0 && defined(__OPTIMIZE__) && __OPTIMIZE__ > 0 6#if defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0 && defined(__OPTIMIZE__) && __OPTIMIZE__ > 0
7 7
8#ifdef __cplusplus 8#ifndef __cplusplus
9extern "C" {
10#endif
11 9
12static inline __attribute__ ((always_inline)) 10static inline __attribute__ ((always_inline))
13size_t 11size_t
@@ -172,8 +170,6 @@ __fortify_write(int fd, const void *buf, size_t n)
172#undef write 170#undef write
173#define write(fd, buf, n) __fortify_write(fd, buf, n) 171#define write(fd, buf, n) __fortify_write(fd, buf, n)
174 172
175#ifdef __cplusplus
176}
177#endif 173#endif
178 174
179#endif 175#endif