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/stdlib.h | |
parent | 61fa98ea9e288abb4aa5b12be8fed9f73e2a1a9c (diff) | |
download | libbsd-cb1346e5b3bdeb98e4118053e2520ae68d2111b1.tar.gz |
Export public functions as extern C
Diffstat (limited to 'include/bsd/stdlib.h')
-rw-r--r-- | include/bsd/stdlib.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/bsd/stdlib.h b/include/bsd/stdlib.h index b01d970..75f994a 100644 --- a/include/bsd/stdlib.h +++ b/include/bsd/stdlib.h @@ -1,7 +1,7 @@ /* * Copyright © 2005 Aurelien Jarno * Copyright © 2006 Robert Millan - * 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 @@ -29,9 +29,11 @@ #ifndef LIBBSD_STDLIB_H #define LIBBSD_STDLIB_H +#include <sys/cdefs.h> #include <sys/stat.h> #include <stdlib.h> +__BEGIN_DECLS const char *fmtcheck (const char *, const char *); char *getprogname (); @@ -45,5 +47,6 @@ int heapsort (void *, size_t, size_t, int (*)(const void *, const void *)); mode_t getmode(const void *set, mode_t mode); void *setmode(const char *mode_str); +__END_DECLS #endif |