style update

This commit is contained in:
rumbledethumps 2023-11-26 15:12:20 -08:00
parent 502e13173a
commit 3905e43068
2 changed files with 2 additions and 2 deletions

View File

@ -8,8 +8,9 @@ int clock_gettimezone (clockid_t clock_id, struct _timezone* tz)
ax = ria_call_int_errno (RIA_OP_CLOCK_GETTIMEZONE);
if (ax >= 0) {
char i;
for (i = 0; i < sizeof (struct _timezone); i++)
for (i = 0; i < sizeof (struct _timezone); i++) {
((char*)tz)[i] = ria_pop_char ();
}
}
return ax;
}

View File

@ -1,7 +1,6 @@
#include <rp6502.h>
#include <stdlib.h>
// Non-standard cc65
void _randomize (void)
{
srand (ria_call_int (RIA_OP_LRAND));