projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
assert-h: work around 'verify' incompatibility
[gnulib.git]
/
lib
/
stdio-safer.h
diff --git
a/lib/stdio-safer.h
b/lib/stdio-safer.h
index
c881d5a
..
62fdf64
100644
(file)
--- a/
lib/stdio-safer.h
+++ b/
lib/stdio-safer.h
@@
-1,6
+1,6
@@
/* Invoke stdio functions, but avoid some glitches.
/* Invoke stdio functions, but avoid some glitches.
- Copyright (C) 2001, 2003, 2006 Free Software Foundation, Inc.
+ Copyright (C) 2001, 2003, 2006
, 2009-2011
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
@@
-19,5
+19,18
@@
#include <stdio.h>
#include <stdio.h>
+#if GNULIB_FOPEN_SAFER
FILE *fopen_safer (char const *, char const *);
FILE *fopen_safer (char const *, char const *);
+#endif
+
+#if GNULIB_FREOPEN_SAFER
+FILE *freopen_safer (char const *, char const *, FILE *);
+#endif
+
+#if GNULIB_POPEN_SAFER
+FILE *popen_safer (char const *, char const *);
+#endif
+
+#if GNULIB_TMPFILE_SAFER
FILE *tmpfile_safer (void);
FILE *tmpfile_safer (void);
+#endif