X-Git-Url: http://git.maemo.org/git/?p=opencv;a=blobdiff_plain;f=apps%2FHawk%2FCVEiCL%2FEiC%2Fmodule%2FstdClib%2Fsrc%2F_NETBSD%2Ftime.h;fp=apps%2FHawk%2FCVEiCL%2FEiC%2Fmodule%2FstdClib%2Fsrc%2F_NETBSD%2Ftime.h;h=0000000000000000000000000000000000000000;hp=59569025d9d8909266eba06f381cb69f535ef154;hb=e4c14cdbdf2fe805e79cd96ded236f57e7b89060;hpb=454138ff8a20f6edb9b65a910101403d8b520643 diff --git a/apps/Hawk/CVEiCL/EiC/module/stdClib/src/_NETBSD/time.h b/apps/Hawk/CVEiCL/EiC/module/stdClib/src/_NETBSD/time.h deleted file mode 100644 index 5956902..0000000 --- a/apps/Hawk/CVEiCL/EiC/module/stdClib/src/_NETBSD/time.h +++ /dev/null @@ -1,44 +0,0 @@ -#define CLOCKS_PER_SEC 100 - -#ifndef _EiC -#define unsafe -#endif - -#define _need_time_t -#define _need_clock_t -#include "sys/stdtypes.h" -#undef _need_clock_t -#undef _need_time_t - -typedef struct timespec { - time_t tv_sec; - long tv_nsec; -} timespec_t; - -struct tm { - int tm_sec; /* seconds after the minute [0-60] */ - int tm_min; /* minutes after the hour [0-59] */ - int tm_hour; /* hours since midnight [0-23] */ - int tm_mday; /* day of the month [1-31] */ - int tm_mon; /* months since January [0-11] */ - int tm_year; /* years since 1900 */ - int tm_wday; /* days since Sunday [0-6] */ - int tm_yday; /* days since January 1 [0-365] */ - int tm_isdst; /* Daylight Savings Time flag */ - long tm_gmtoff; /* offset from CUT in seconds */ - char *unsafe tm_zone; /* timezone abbreviation */ -}; - -char *asctime(struct tm *); -clock_t clock(void); -char *ctime(const time_t *); -double difftime(time_t, time_t); -struct tm *gmtime(const time_t *); -struct tm *localtime(const time_t *); -time_t mktime(struct tm *); -size_t strftime(char *, size_t bufsize, const char *, const struct tm *); -time_t time(time_t *); - -#ifndef _EiC -#undef unsafe -#endif