Added a very preliminary time.h
Removed the bzero()/bcopy() prototypes, and replaced them with macros - we should decide what to do with them. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1119 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
#ifndef _TIME_H_
|
||||
#define _TIME_H_
|
||||
|
||||
typedef long clock_t;
|
||||
typedef long time_t;
|
||||
|
||||
#define CLOCKS_PER_SEC 1000
|
||||
#define CLK_TCK CLOCKS_PER_SEC
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
// ToDo: add function prototypes...
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _TIME_H_ */
|
||||
Reference in New Issue
Block a user