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
@ -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…
x
Reference in New Issue
Block a user