mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-24 16:10:11 +00:00
Bracket the prototype for ulimit() with __BEGIN_DECLS/__END_DECLS
so that it can be called from C++.
This commit is contained in:
parent
f2bc7cd262
commit
91c6113bdc
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=108634
@ -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_ */
|
||||
|
Loading…
Reference in New Issue
Block a user