comparison src/c/urweb.c @ 1138:b7118ffd32ae

Update Makefile.in's with new Autotools; add extra 'return NULL' to placate some -Wall
author Adam Chlipala <adamc@hcoop.net>
date Sat, 30 Jan 2010 11:21:26 -0500
parents b08b73591d2c
children ae818127a725
comparison
equal deleted inserted replaced
1137:a8921f5ef6bd 1138:b7118ffd32ae
3277 3277
3278 uw_Basis_time uw_Basis_now(uw_context ctx) { 3278 uw_Basis_time uw_Basis_now(uw_context ctx) {
3279 return time(NULL); 3279 return time(NULL);
3280 } 3280 }
3281 3281
3282 uw_Basis_time uw_Basis_minusSeconds(uw_context ctx, uw_Basis_time tm, uw_Basis_int n) {
3283 return tm - n;
3284 }
3285
3282 void *uw_get_global(uw_context ctx, char *name) { 3286 void *uw_get_global(uw_context ctx, char *name) {
3283 int i; 3287 int i;
3284 3288
3285 for (i = 0; i < ctx->n_globals; ++i) 3289 for (i = 0; i < ctx->n_globals; ++i)
3286 if (!strcmp(name, ctx->globals[i].name)) 3290 if (!strcmp(name, ctx->globals[i].name))