diff options
author | tjr <tjr@FreeBSD.org> | 2003-01-04 00:32:18 +0000 |
---|---|---|
committer | tjr <tjr@FreeBSD.org> | 2003-01-04 00:32:18 +0000 |
commit | 81ba2af45b09180cc2da011a068202da70b60b34 (patch) | |
tree | 73d87d88b944607337444981790d52fecff4a810 /include | |
parent | 5b93b0c98e6674f3cc4c091efb6c5dd46dfe6868 (diff) | |
download | FreeBSD-src-81ba2af45b09180cc2da011a068202da70b60b34.zip FreeBSD-src-81ba2af45b09180cc2da011a068202da70b60b34.tar.gz |
Bracket the prototype for ulimit() with __BEGIN_DECLS/__END_DECLS
so that it can be called from C++.
Diffstat (limited to 'include')
-rw-r--r-- | include/ulimit.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/ulimit.h b/include/ulimit.h index 67fcf4c..049d382 100644 --- a/include/ulimit.h +++ b/include/ulimit.h @@ -29,9 +29,13 @@ #ifndef _ULIMIT_H_ #define _ULIMIT_H_ +#include <sys/cdefs.h> + #define UL_GETSIZE 1 #define UL_SETSIZE 2 +__BEGIN_DECLS long ulimit(int, ...); +__END_DECLS #endif /* !_ULIMIT_H_ */ |