mirror of https://github.com/cc65/cc65.git
style update
This commit is contained in:
parent
502e13173a
commit
3905e43068
|
@ -8,8 +8,9 @@ int clock_gettimezone (clockid_t clock_id, struct _timezone* tz)
|
||||||
ax = ria_call_int_errno (RIA_OP_CLOCK_GETTIMEZONE);
|
ax = ria_call_int_errno (RIA_OP_CLOCK_GETTIMEZONE);
|
||||||
if (ax >= 0) {
|
if (ax >= 0) {
|
||||||
char i;
|
char i;
|
||||||
for (i = 0; i < sizeof (struct _timezone); i++)
|
for (i = 0; i < sizeof (struct _timezone); i++) {
|
||||||
((char*)tz)[i] = ria_pop_char ();
|
((char*)tz)[i] = ria_pop_char ();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return ax;
|
return ax;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
#include <rp6502.h>
|
#include <rp6502.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
// Non-standard cc65
|
|
||||||
void _randomize (void)
|
void _randomize (void)
|
||||||
{
|
{
|
||||||
srand (ria_call_int (RIA_OP_LRAND));
|
srand (ria_call_int (RIA_OP_LRAND));
|
||||||
|
|
Loading…
Reference in New Issue