aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/xdr/xdr.32
-rw-r--r--lib/libgeom/libgeom.h2
-rw-r--r--lib/libutil/libutil.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/xdr/xdr.3 b/lib/libc/xdr/xdr.3
index 65adb050fa44..5d81a867ad66 100644
--- a/lib/libc/xdr/xdr.3
+++ b/lib/libc/xdr/xdr.3
@@ -572,7 +572,7 @@ This routine returns the amount of memory required to encode
using filter
.Fa func .
.Pp
-.It Li "#ifdef _STDIO_H_"
+.It Li "#ifdef __STDC_VERSION_STDIO_H__"
.It Li "/* XDR using stdio library */"
.It Xo
.Ft void
diff --git a/lib/libgeom/libgeom.h b/lib/libgeom/libgeom.h
index 2116645bd496..713c49f0380c 100644
--- a/lib/libgeom/libgeom.h
+++ b/lib/libgeom/libgeom.h
@@ -143,7 +143,7 @@ void geom_deletetree(struct gmesh *);
struct gctl_req;
-#ifdef _STDIO_H_ /* limit #include pollution */
+#ifdef __STDC_VERSION_STDIO_H__ /* limit #include pollution */
void gctl_dump(struct gctl_req *, FILE *);
#endif
void gctl_free(struct gctl_req *);
diff --git a/lib/libutil/libutil.h b/lib/libutil/libutil.h
index 17e4f1fba247..679a213e64bf 100644
--- a/lib/libutil/libutil.h
+++ b/lib/libutil/libutil.h
@@ -151,7 +151,7 @@ int uu_lock_txfr(const char *_ttyname, pid_t _pid);
* Conditionally prototype the following functions if the include
* files upon which they depend have been included.
*/
-#ifdef _STDIO_H_
+#ifdef __STDC_VERSION_STDIO_H__
char *fparseln(FILE *_fp, size_t *_len, size_t *_lineno,
const char _delim[3], int _flags);
#endif