Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.csd.uwm.edu!cs.utexas.edu!uunet!synsys!john From: john@synsys.UUCP (John C. Rossmann) Newsgroups: comp.unix.i386 Subject: Re: 1 more rn problem with interactive Message-ID: <346@synsys.UUCP> Date: 1 Sep 89 13:33:33 GMT References: <171@brandy.UUCP> Reply-To: john@synsys.UUCP (John C. Rossmann) Organization: Synergistic Systems, Kingston, NY Lines: 31 In article <171@brandy.UUCP> mark@brandy.UUCP (mark hilliard) writes: > >in common.h : > >char *sprintf(); > >causes the following error: > > >"./common.h", line 674: redeclaration of sprintf > > >the man says that sprintf should be a int, and NOT a pointer > >Mark Hilliard What patchlevel is your version of rn? Mine is level 40. My common.h (after Configure) does not have the sprintf() declaration at all. When I compile, there are no pointer type mismatch warnings, so I assume that the code is not assigning sprintf()'s return value to any pointers (and the code works fine). Maybe Configure is finding different things on your system than mine? I didn't think BT/Intel/ATT V/3.2 would be THAT different from 386/ix. (When I last ran Configure, I think it was against my 3.0 system, but the sprintf() function declaration didn't change.) Can someone else shed more light on this? John Rossmann (uunet!synsys!john)