about summary refs log tree commit diff
path: root/io
diff options
context:
space:
mode:
Diffstat (limited to 'io')
-rw-r--r--io/ftw.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/io/ftw.h b/io/ftw.h
index 0bfdf37431..e6d0b63626 100644
--- a/io/ftw.h
+++ b/io/ftw.h
@@ -34,6 +34,8 @@
 #define FTW_DNR	2		/* Unreadable directory.  */
 #define FTW_NS	3		/* Unstatable file.  */
 
+__BEGIN_DECLS
+
 /* Call a function on every element in a directory tree.  */
 extern int ftw __P ((__const char *__dir,
 		     int (*__func) (__const char *__file,
@@ -41,4 +43,6 @@ extern int ftw __P ((__const char *__dir,
 				    int __flag),
 		     int __descriptors));
 
+__END_DECLS
+
 #endif	/* ftw.h */