summaryrefslogtreecommitdiffstats
path: root/include/ulimit.h
diff options
context:
space:
mode:
authortjr <tjr@FreeBSD.org>2003-01-04 00:32:18 +0000
committertjr <tjr@FreeBSD.org>2003-01-04 00:32:18 +0000
commit81ba2af45b09180cc2da011a068202da70b60b34 (patch)
tree73d87d88b944607337444981790d52fecff4a810 /include/ulimit.h
parent5b93b0c98e6674f3cc4c091efb6c5dd46dfe6868 (diff)
downloadFreeBSD-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/ulimit.h')
-rw-r--r--include/ulimit.h4
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_ */
OpenPOWER on IntegriCloud