Bracket the prototype for ulimit() with __BEGIN_DECLS/__END_DECLS

so that it can be called from C++.
This commit is contained in:
Tim J. Robbins 2003-01-04 00:32:18 +00:00
parent f2bc7cd262
commit 91c6113bdc
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=108634

View file

@ -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_ */