* updating license
* use _{BEGIN|END}_DECL macro instead of ifdef C++
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26921 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1,10 +1,11 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2008, Haiku Inc. All Rights Reserved.
|
||||||
|
* Distributed under the terms of the MIT License.
|
||||||
|
*/
|
||||||
#ifndef _SYS_RESOURCE_H
|
#ifndef _SYS_RESOURCE_H
|
||||||
#define _SYS_RESOURCE_H
|
#define _SYS_RESOURCE_H
|
||||||
/*
|
|
||||||
** Distributed under the terms of the OpenBeOS License.
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
|
#include <sys/cdefs.h>
|
||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
|
|
||||||
|
|
||||||
@@ -53,9 +54,7 @@ struct rusage {
|
|||||||
#define PRIO_USER 2
|
#define PRIO_USER 2
|
||||||
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
__BEGIN_DECLS
|
||||||
extern "C" {
|
|
||||||
#endif
|
|
||||||
|
|
||||||
extern int getrusage(int who, struct rusage *rusage);
|
extern int getrusage(int who, struct rusage *rusage);
|
||||||
|
|
||||||
@@ -66,8 +65,6 @@ extern int setrlimit(int resource, const struct rlimit * rlp);
|
|||||||
* int getpriority(int which, id_t who);
|
* int getpriority(int which, id_t who);
|
||||||
* int setpriority(int which, id_t who, int priority); */
|
* int setpriority(int which, id_t who, int priority); */
|
||||||
|
|
||||||
#ifdef __cplusplus
|
__END_DECLS
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif /* _SYS_RESOURCE_H */
|
#endif /* _SYS_RESOURCE_H */
|
||||||
|
|||||||
Reference in New Issue
Block a user