Message-Id: <3.0.1.32.19971118104846.007ce6c0@yacker.xiotech.com> Date: Tue, 18 Nov 1997 10:48:46 -0600 To: djgpp-workers AT delorie DOT com From: Randy Maas Subject: fix for "'enable' shadows global declaration" warning Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Precedence: bulk Just a small patch: compiling a file that has #include #include and using the compiler flag -Wshadow, produces: /local/include/sys/exceptn.h:39: warning: declaration of `enable' shadows global declaration here is a little patch that stops the warning *** include/sys/exceptn.h Mon Dec 4 22:39:44 1995 --- include/sys/exceptn.h-new Tue Nov 18 10:34:04 1997 *************** *** 37,41 void __djgpp_exception_toggle(void); ! int __djgpp_set_ctrl_c(int enable); /* On by default */ #endif /* !_POSIX_SOURCE */ --- 37,41 ----- void __djgpp_exception_toggle(void); ! int __djgpp_set_ctrl_c(int enable_ctrl_c); /* On by default */ #endif /* !_POSIX_SOURCE */