Fix printfs with too few or too many parms, remove unused vars, fix incorrect flag tests, other code cleanup.
This commit is contained in:
@@ -206,7 +206,7 @@ date_of(const register struct dsttype *dst, const struct tm *timep)
|
||||
|
||||
if (dst->ds_type != 'M') {
|
||||
return dst->ds_date[0] -
|
||||
(dst->ds_type == 'J'
|
||||
((dst->ds_type == 'J')
|
||||
&& leap
|
||||
&& dst->ds_date[0] < 58);
|
||||
}
|
||||
|
||||
@@ -385,7 +385,7 @@ message *mp;
|
||||
/*===========================================================================*
|
||||
* nop_prepare *
|
||||
*===========================================================================*/
|
||||
PUBLIC struct device *nop_prepare(device)
|
||||
PUBLIC struct device *nop_prepare(int device)
|
||||
{
|
||||
/* Nothing to prepare for. */
|
||||
return(NIL_DEV);
|
||||
|
||||
Reference in New Issue
Block a user