repo.or.cz
/
zpugcc
/
jano.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
fixed more binutils issues (newer gcc/libc)
[zpugcc/jano.git]
/
toolchain
/
gcc
/
libgloss
/
libnosys
/
gettod.c
blob
70034597ab5c52c12bf91c629251c472eabb6a20
1
/*
2
* Stub version of gettimeofday.
3
*/
4
5
#include
"config.h"
6
#include <_ansi.h>
7
#include <_syslist.h>
8
#include <sys/time.h>
9
#include <sys/times.h>
10
#include <errno.h>
11
#undef errno
12
extern
int
errno
;
13
#include
"warning.h"
14
15
struct
timeval
;
16
struct
timezone
;
17
18
int
19
_DEFUN
(
_gettimeofday
, (
ptimeval
,
ptimezone
),
20
struct
timeval
*
ptimeval _AND
21
struct
timezone
*
ptimezone
)
22
{
23
errno
=
ENOSYS
;
24
return
-
1
;
25
}
26
27
stub_warning
(
_gettimeofday
)