summaryrefslogtreecommitdiff
path: root/include/bsd/inet.h
diff options
context:
space:
mode:
authorGuillem Jover <guillem@hadrons.org>2009-05-25 09:25:13 +0200
committerGuillem Jover <guillem@hadrons.org>2009-05-25 09:25:13 +0200
commitcb1346e5b3bdeb98e4118053e2520ae68d2111b1 (patch)
tree1606350c99b84ecf4f35045e27e5ed5450a9501a /include/bsd/inet.h
parent61fa98ea9e288abb4aa5b12be8fed9f73e2a1a9c (diff)
downloadlibbsd-cb1346e5b3bdeb98e4118053e2520ae68d2111b1.tar.gz
Export public functions as extern C
Diffstat (limited to 'include/bsd/inet.h')
-rw-r--r--include/bsd/inet.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/bsd/inet.h b/include/bsd/inet.h
index 14ea256..1f6e597 100644
--- a/include/bsd/inet.h
+++ b/include/bsd/inet.h
@@ -1,5 +1,5 @@
/*
- * Copyright © 2008 Guillem Jover
+ * Copyright © 2008, 2009 Guillem Jover
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -27,9 +27,12 @@
#ifndef LIBBSD_INET_H
#define LIBBSD_INET_H
+#include <sys/cdefs.h>
#include <stddef.h>
+__BEGIN_DECLS
int inet_net_pton(int af, const char *src, void *dst, siez_t size);
+__END_DECLS
#endif