[comp.os.minix] Small change to HARD_SCROLL

frankb@ruuinf.cs.ruu.nl (Frank Breure) (05/29/90)

I tried to recompile my 1.5.10 kernel with no HARD_SCROLL (not because I
dont't like the HARD_SCROLL, but more to experience teh difference again).

So I changed my Makefile to define "SCROLL = <nothing>".

When recompiling the kernel ld gave an error
undefined: _scroll_src

This is due to the fact that in copy68k.s there is no 'ifdef' around the
extern declaration of _scroll_src.
The following patch will fix this
--------------------------- copy68k.s.cdiff -------------------------
*** copy68k.s.org	Tue May 29 10:45:08 1990
--- copy68k.s	Tue May 29 10:46:28 1990
***************
*** 46,52 ****
             .extern  _zeroclicks
             .extern  _copyclicks
             .extern  _phys_copy
! 	   .extern  _scroll_scr
  
  
  !****************************************************************************
--- 46,54 ----
             .extern  _zeroclicks
             .extern  _copyclicks
             .extern  _phys_copy
! #ifdef HARD_SCROLL           
! 	   .extern  _scroll_scr
! #endif /* HARD_SCROLL */ 
  
  
  !****************************************************************************
------------------------- copy68k.s.cdiff ends here --------------------

I hope this will help some people to make the switching between hardware and
software scrolling more easy.

			Frank Breure.
-- 
"My opinions may be subject of change without notice."
Frank Breure (Student at Haagse Hogeschool, The Hague)
workplace at: Dept. of Computer Science, Utrecht University
UUCP: ...!uunet!mcsun!hp4nl!ruuinf!frankb   Email: frankb@cs.ruu.nl