summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid 'Digit' Turner <digit@google.com>2010-09-28 00:15:23 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2010-09-28 00:15:23 -0700
commit307aadb8473744c3d946add8b3e4947ada5481aa (patch)
treecd9dfce451ada094d1703e7006a605f3802d2996
parent79260746dbed91babab415ea86fba0e3eb086429 (diff)
parentf33a7700a5a893798e92ee67495281d2e24159fa (diff)
downloadbionic-307aadb8473744c3d946add8b3e4947ada5481aa.zip
bionic-307aadb8473744c3d946add8b3e4947ada5481aa.tar.gz
bionic-307aadb8473744c3d946add8b3e4947ada5481aa.tar.bz2
Merge "libc: Add missing C++ guards to <pathconf.h>" into gingerbread
-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_ */