Subject: port-amiga/2681: adutil.c croaks during compile under a 1.1 system
To: None <gnats-bugs@NetBSD.ORG>
From: None <tv@pobox.com>
List: netbsd-bugs
Date: 08/09/1996 17:58:41
>Number:         2681
>Category:       port-amiga
>Synopsis:       adutil.c croaks during compile under a 1.1 system
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Aug  9 18:35:01 1996
>Last-Modified:
>Originator:     Todd Vierling
>Organization:
NetBSD Addicts Anonymous
>Release:        1.2_BETA
>Environment:
	
System: NetBSD like.duh.ml.org 1.1 NetBSD 1.1 (TV) #10: Thu Jun 27 15:59:30 EDT 1996 tv@like.duh.iag.net:/usr/src/sys/arch/amiga/compile/TV amiga
...but compiling a 1.2_BETA kernel with 1.2_BETA config.

>Description:
	
sys/adosfs/adutil.c/adoscaseequ() has a bad declaration:

cc1: warnings being treated as errors
../../../../adosfs/adutil.c: In function `adoscaseequ':
../../../../adosfs/adutil.c:179: warning: type of `inter' defaults to `int'

>How-To-Repeat:
	
>Fix:
	
Apply this patch

*** adutil.c.orig	Fri Aug  9 17:49:07 1996
--- adutil.c	Fri Aug  9 17:49:23 1996
***************
*** 177,183 ****
  int
  adoscaseequ(name1, name2, len, inter)
  	const u_char *name1, *name2;
! 	int len;
  {
  	while (len-- > 0) 
  		if (CapitalChar(*name1++, inter) != 
--- 177,183 ----
  int
  adoscaseequ(name1, name2, len, inter)
  	const u_char *name1, *name2;
! 	int len, inter;
  {
  	while (len-- > 0) 
  		if (CapitalChar(*name1++, inter) != 
>Audit-Trail:
>Unformatted: