From: Ben Gras Date: Tue, 31 May 2005 11:14:37 +0000 (+0000) Subject: Fixed some compiler warnings. X-Git-Tag: v3.1.0~797 X-Git-Url: http://zhaoyanbai.com/repos/%22/xml/v3/status/static/gitweb.js?a=commitdiff_plain;h=135328ac591fd868b2a5f0fb5c507d1d80ba3ec8;p=minix.git Fixed some compiler warnings. --- diff --git a/boot/boot.h b/boot/boot.h index 5d1d9a257..04218dac4 100755 --- a/boot/boot.h +++ b/boot/boot.h @@ -203,6 +203,7 @@ EXTERN char *drun; /* Initial command from DOS command line. */ #endif void readblock(off_t, char *, int); +void delay(char *); /* * $PchId: boot.h,v 1.12 2002/02/27 19:42:45 philip Exp $ diff --git a/boot/rawfs.c b/boot/rawfs.c index d0f0478f3..baa720cf7 100755 --- a/boot/rawfs.c +++ b/boot/rawfs.c @@ -85,7 +85,6 @@ off_t r_super(int *bs) *bs = block_size = super.s_block_size; if(block_size < MIN_BLOCK_SIZE || block_size > MAX_BLOCK_SIZE) { - printf("bogus block size %d\n", block_size); return 0; } nr_dzones= V2_NR_DZONES;