OSDN Git Service

libc: Add missing C++ guards to <pathconf.h>
authorDavid 'Digit' Turner <digit@google.com>
Mon, 27 Sep 2010 15:27:14 +0000 (17:27 +0200)
committerDavid 'Digit' Turner <digit@google.com>
Mon, 27 Sep 2010 15:27:14 +0000 (17:27 +0200)
Change-Id: I94dad48678181d8b02431b1c1f5d507beafb5406

libc/include/pathconf.h

index 4677f7b..94f9787 100644 (file)
 #ifndef _PATHCONF_H_
 #define _PATHCONF_H_
 
+#include <sys/cdefs.h>
+
+__BEGIN_DECLS
+
 /* constants to be used for the 'name' paremeter of pathconf/fpathconf */
 
 #define  _PC_FILESIZEBITS       0x0000
@@ -54,5 +58,7 @@
 extern long fpathconf(int fildes, int name);
 extern long pathconf(const char *path, int name);
 
+__END_DECLS
+
 #endif /* _PATHCONF_H_ */