diff options
author | Guillem Jover <guillem@hadrons.org> | 2009-05-25 09:25:13 +0200 |
---|---|---|
committer | Guillem Jover <guillem@hadrons.org> | 2009-05-25 09:25:13 +0200 |
commit | cb1346e5b3bdeb98e4118053e2520ae68d2111b1 (patch) | |
tree | 1606350c99b84ecf4f35045e27e5ed5450a9501a /include/bsd/inet.h | |
parent | 61fa98ea9e288abb4aa5b12be8fed9f73e2a1a9c (diff) | |
download | libbsd-cb1346e5b3bdeb98e4118053e2520ae68d2111b1.tar.gz |
Export public functions as extern C
Diffstat (limited to 'include/bsd/inet.h')
-rw-r--r-- | include/bsd/inet.h | 5 |
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 |