mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04: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
1 changed files with 4 additions and 0 deletions
|
|
@ -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 a new issue