From 91c6113bdc0c97ea3263326d824876ac4d1da1a1 Mon Sep 17 00:00:00 2001 From: "Tim J. Robbins" Date: Sat, 4 Jan 2003 00:32:18 +0000 Subject: Bracket the prototype for ulimit() with __BEGIN_DECLS/__END_DECLS so that it can be called from C++. --- include/ulimit.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include') diff --git a/include/ulimit.h b/include/ulimit.h index 67fcf4c80d3a..049d382d641d 100644 --- a/include/ulimit.h +++ b/include/ulimit.h @@ -29,9 +29,13 @@ #ifndef _ULIMIT_H_ #define _ULIMIT_H_ +#include + #define UL_GETSIZE 1 #define UL_SETSIZE 2 +__BEGIN_DECLS long ulimit(int, ...); +__END_DECLS #endif /* !_ULIMIT_H_ */ -- cgit v1.2.3