Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 May 1996 14:45:02 +0200
From:      kieber@sax.sax.de (Ulf Kieber)
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   kern/1283: cleaning out compiler fuzz
Message-ID:  <199605311245.OAA27405@sax.sax.de>
Resent-Message-ID: <199605311250.FAA09902@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         1283
>Category:       kern
>Synopsis:       cleaning out some compiler fuzz from pcvt_hdr.h
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri May 31 05:50:01 PDT 1996
>Last-Modified:
>Originator:     Ulf Kieber
>Organization:
SaxNet e. V.
>Release:        FreeBSD 2.1-STABLE i386
>Environment:
FreeBSD sax.sax.de 2.1.0-RELEASE FreeBSD 2.1.0-RELEASE #2: Tue May 21 16:11:07 MET DST 1996     root@sax.sax.de:/usr/src/sys/compile/SAX.exabyte  i386
>Description:
kernel make says:

cc -c -O -pipe -W -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit -nostdinc -I. -I../.. -I../../sys -I../../../include -DSAX -DI486_CPU -DNMBCLUSTERS='(1024+MAXUSERS*16)' -DDFLDSIZ='(8UL*1024*1024)' -DFAT_CURSOR -DPCVT_VT220KEYB -DMONO_KERNEL_FG=FG_LIGHTGREY -DPCVT_FREEBSD=210 -DCOM_MULTIPORT -DQUOTA -DIPACCT -DSYSVMSG -DSYSVSEM -DSYSVSHM -DDUMMY_NOPS -DAUTO_EOI_2 -DAUTO_EOI_1 -DCOMPAT_43 -DPROCFS -DCD9660 -DNFS -DFFS -DINET -DKERNEL -Di386 -DLOAD_ADDRESS=0xF0100000  ../../i386/isa/pcvt/pcvt_ext.c
../../i386/isa/pcvt/pcvt_ext.c: In function `wd90c11_col':
../../i386/isa/pcvt/pcvt_ext.c:1213: warning: implicit declaration of function `vga_move_charset'

                 If the definition of vga_move_charset in pcvt_sup.c
		 does not depend on option XSERVER being set, I don't
		 see why the the prototype should depend on that
		 option.

>How-To-Repeat:
See Description.
>Fix:
*** i386/isa/pcvt/pcvt_hdr.h.orig	Thu Sep 14 09:09:49 1995
--- i386/isa/pcvt/pcvt_hdr.h	Fri May 31 14:35:20 1996
***************
*** 1265,1274 ****
  void 	pcvt_set_scrnsv_tmo ( int );
  #endif /* PCVT_SCREENSAVER && defined(XSERVER) */
  
- #ifdef XSERVER
  void	vga_move_charset ( unsigned n, unsigned char *b, int save_it);
- #endif /* XSERVER */
- 
  void	async_update ( int arg );
  void	clr_parms ( struct video_state *svsp );
  void	cons_highlight ( void );
--- 1265,1271 ----
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199605311245.OAA27405>