forked from len0rd/rockbox
Cleanup
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4112 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
39abcc8399
commit
12e237a3f1
1 changed files with 1 additions and 25 deletions
|
@ -1,33 +1,12 @@
|
||||||
/*
|
/*
|
||||||
* time.h
|
* time.h
|
||||||
*
|
*
|
||||||
* Struct and function declarations for dealing with time.
|
* Struct declaration for dealing with time.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _TIME_H_
|
#ifndef _TIME_H_
|
||||||
#define _TIME_H_
|
#define _TIME_H_
|
||||||
|
|
||||||
#include "_ansi.h"
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
extern "C" {
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef NULL
|
|
||||||
#define NULL 0
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef _CLOCKS_PER_SEC_
|
|
||||||
#define _CLOCKS_PER_SEC_ 1000
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#define CLOCKS_PER_SEC _CLOCKS_PER_SEC_
|
|
||||||
#define CLK_TCK CLOCKS_PER_SEC
|
|
||||||
#define __need_size_t
|
|
||||||
#include <stddef.h>
|
|
||||||
|
|
||||||
#include <sys/types.h>
|
|
||||||
|
|
||||||
struct tm
|
struct tm
|
||||||
{
|
{
|
||||||
int tm_sec;
|
int tm_sec;
|
||||||
|
@ -41,8 +20,5 @@ struct tm
|
||||||
int tm_isdst;
|
int tm_isdst;
|
||||||
};
|
};
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
#endif /* _TIME_H_ */
|
#endif /* _TIME_H_ */
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue