summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid 'Digit' Turner <digit@google.com>2010-09-27 17:27:14 +0200
committerDavid 'Digit' Turner <digit@google.com>2010-09-27 17:27:14 +0200
commitf33a7700a5a893798e92ee67495281d2e24159fa (patch)
tree0cdfbf884b46d8e831db191f75d513d155ca64d3
parentb9e49ad56e5776ace7c6eab2e997d5b7acb16792 (diff)
downloadbionic-f33a7700a5a893798e92ee67495281d2e24159fa.zip
bionic-f33a7700a5a893798e92ee67495281d2e24159fa.tar.gz
bionic-f33a7700a5a893798e92ee67495281d2e24159fa.tar.bz2
libc: Add missing C++ guards to <pathconf.h>
Change-Id: I94dad48678181d8b02431b1c1f5d507beafb5406
-rw-r--r--libc/include/pathconf.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libc/include/pathconf.h b/libc/include/pathconf.h
index 4677f7b..94f9787 100644
--- a/libc/include/pathconf.h
+++ b/libc/include/pathconf.h
@@ -28,6 +28,10 @@
#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_ */