Return to BSD News archive
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msuinfo!caen!usenet.cis.ufl.edu!usenet.eel.ufl.edu!news.mathworks.com!yeshua.marcam.com!charnel.ecst.csuchico.edu!xmission!news.cc.utah.edu!cs.weber.edu!terry From: terry@cs.weber.edu (Terry Lambert) Newsgroups: comp.os.386bsd.misc Subject: Re: Warning: passing arg2 of 'signal' from incompat... Date: 4 Nov 1994 18:05:43 GMT Organization: Weber State University, Ogden, UT Lines: 27 Message-ID: <39dt5n$21c@news.cc.utah.edu> References: <cctb.783382273@kudu.ru.ac.za> <39bfiiINNdp2@bonnie.sax.de> NNTP-Posting-Host: cs.weber.edu In article <39bfiiINNdp2@bonnie.sax.de> j@uriah.sax.de (J Wunsch) writes: ] cctb@kudu.ru.ac.za (Tim Bouwer) writes: ] >warning: passing arg 2 of 'signal' from incompatible pointer type in ] >function ????? ] ] The programs assume any BSD were a dumb old BSD. Dumb old (4.3) BSD ] had signal handlers that were declared to return an (unused) int. A ] relique of ol' days where every function implicitly returned an int. ] ] 4.4BSD switched to the `void' signal handlers. Hence the warning. ] You can safely ignore them, or better yet, fix the nit, and send ] a bug fix to the maintainers. The net effect of such a patch would be to break backward compatability for all these programs and further orphan people running older systems. To a large extent, void, volatile, and const really suck out. Older is not necesaarily worse. Look at Sun. Look at American cars. Look at SCO. Terry Lambert terry@cs.weber.edu --- Any opinions in this posting are my own and not those of my present or previous employers.