diff --git a/src/customers.h b/src/customers.h index 353551b..7f20713 100644 --- a/src/customers.h +++ b/src/customers.h @@ -26,7 +26,7 @@ void customer_processes( int ); void select_customers( int, char** ); -void delete_customer(); +void delete_customer( int, char** ); void add_customer(); void write_customer_csv_entry( char*, char*, char*, char* ); void delete_customer_csv_entry( int* ); diff --git a/src/isaac_rand/isaac_rand.c b/src/isaac_rand/isaac_rand.c index c9220e0..e2dbbcd 100644 --- a/src/isaac_rand/isaac_rand.c +++ b/src/isaac_rand/isaac_rand.c @@ -25,8 +25,7 @@ MODIFIED: *(r++) = b = ind(mm,y>>RANDSIZL) + x; \ } -void isaac(ctx) -randctx *ctx; +void isaac(randctx *ctx) { register ub4 a,b,x,y,*m,*mm,*m2,*r,*mend; mm=ctx->randmem; @@ -64,9 +63,7 @@ randctx *ctx; } /* if (flag==TRUE), then use the contents of randrsl[] to initialize mm[]. */ -void randinit(ctx, flag) -randctx *ctx; -word flag; +void randinit(randctx *ctx, word flag) { word i; ub4 a,b,c,d,e,f,g,h; diff --git a/src/isaac_rand/isaac_rand.h b/src/isaac_rand/isaac_rand.h index 167a2fd..fa66b6b 100644 --- a/src/isaac_rand/isaac_rand.h +++ b/src/isaac_rand/isaac_rand.h @@ -32,10 +32,9 @@ typedef struct randctx randctx; If (flag==TRUE), then use the contents of randrsl[0..RANDSIZ-1] as the seed. ------------------------------------------------------------------------------ */ -void randinit(/*_ randctx *r, word flag _*/); - -void isaac(/*_ randctx *r _*/); +void randinit(randctx *r, word flag); +void isaac(randctx *r); /* ------------------------------------------------------------------------------