summaryrefslogtreecommitdiff
path: root/h/zephyr
diff options
context:
space:
mode:
authorGravatar Kenneth G Raeburn <raeburn@mit.edu>1990-10-18 19:41:11 +0000
committerGravatar Kenneth G Raeburn <raeburn@mit.edu>1990-10-18 19:41:11 +0000
commitb0f441cecee4a5f273698f9bc7e06106ea07e15a (patch)
tree9670e565bbf89e3c98712669766e9c29b6e8698d /h/zephyr
parent23ba17e8085a4955780bb4eda8079bcee33f5f34 (diff)
Added ANSI C/C++ versions of declarations.
Diffstat (limited to 'h/zephyr')
-rw-r--r--h/zephyr/acl.h15
1 files changed, 14 insertions, 1 deletions
diff --git a/h/zephyr/acl.h b/h/zephyr/acl.h
index f178cd0..142d618 100644
--- a/h/zephyr/acl.h
+++ b/h/zephyr/acl.h
@@ -16,5 +16,18 @@
#ifndef __ACL__
#define __ACL__
+#if defined(__STDC__) || defined(__cplusplus)
+#ifdef __cplusplus
+extern "C" {
+#endif
+ extern int acl_add (const char *, const char *);
+ extern int acl_check (const char *, const char *);
+ extern int acl_delete (const char *, const char *);
+ extern int acl_initialize (const char *, int);
+#ifdef __cplusplus
+}
+#endif
+#else /* not STDC or C++ */
extern int acl_check(), acl_add(), acl_delete(), acl_initialize();
-#endif __ACL__
+#endif
+#endif /* __ACL__ */