OSDN Git Service
(root)
/
android-x86
/
bionic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b9e49ad
)
libc: Add missing C++ guards to <pathconf.h>
author
David 'Digit' Turner
<digit@google.com>
Mon, 27 Sep 2010 15:27:14 +0000
(17:27 +0200)
committer
David 'Digit' Turner
<digit@google.com>
Mon, 27 Sep 2010 15:27:14 +0000
(17:27 +0200)
Change-Id: I94dad48678181d8b02431b1c1f5d507beafb5406
libc/include/pathconf.h
patch
|
blob
|
history
diff --git
a/libc/include/pathconf.h
b/libc/include/pathconf.h
index
4677f7b
..
94f9787
100644
(file)
--- 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_ */