summaryrefslogtreecommitdiff
path: root/libcap/include/sys/capability.h
diff options
context:
space:
mode:
authorAndrew Morgan <morgan@kernel.org>2007-07-10 20:52:44 -0700
committerAndrew Morgan <morgan@kernel.org>2007-07-10 20:52:44 -0700
commitdb06d797939c9874a96549df1101be41bcbec17b (patch)
treeaa864ae7f307b3813e74fd4afcdeccc516f9ebb0 /libcap/include/sys/capability.h
parent2c9c0532daccfd300f0eb1401b15348ed19d0ce7 (diff)
downloadlibcap2-db06d797939c9874a96549df1101be41bcbec17b.tar.gz
This is libcap-1.01libcap-1.01
http://www.kernel.org/pub/linux/libs/security/linux-privs/kernel-2.2/libcap-1.01.tar.gz
Diffstat (limited to 'libcap/include/sys/capability.h')
-rw-r--r--libcap/include/sys/capability.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/libcap/include/sys/capability.h b/libcap/include/sys/capability.h
index dd27978..219ad2a 100644
--- a/libcap/include/sys/capability.h
+++ b/libcap/include/sys/capability.h
@@ -5,12 +5,16 @@
* Copyright (C) 1997 Aleph One
* Copyright (C) 1997-8 Andrew G. Morgan <morgan@linux.kernel.org>
*
- * POSIX.1e Standard: 25.2 Capabilities <sys/capability.h>
+ * defunct POSIX.1e Standard: 25.2 Capabilities <sys/capability.h>
*/
#ifndef _SYS_CAPABILITY_H
#define _SYS_CAPABILITY_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/*
* This file complements the kernel file by providing prototype
* information for the user library.
@@ -101,4 +105,8 @@ extern char const *_cap_names[];
#endif /* !defined(_POSIX_SOURCE) */
+#ifdef __cplusplus
+}
+#endif
+
#endif /* _SYS_CAPABILITY_H */