summaryrefslogtreecommitdiff
path: root/include/sepol/ports.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sepol/ports.h')
-rw-r--r--include/sepol/ports.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/sepol/ports.h b/include/sepol/ports.h
index fb94117..b4622ba 100644
--- a/include/sepol/ports.h
+++ b/include/sepol/ports.h
@@ -4,6 +4,9 @@
#include <sepol/handle.h>
#include <sepol/policydb.h>
#include <sepol/port_record.h>
+#include <sys/cdefs.h>
+
+__BEGIN_DECLS
/* Return the number of ports */
extern int sepol_port_count(sepol_handle_t * handle,
@@ -37,4 +40,5 @@ extern int sepol_port_iterate(sepol_handle_t * handle,
int (*fn) (const sepol_port_t * port,
void *fn_arg), void *arg);
+__END_DECLS
#endif