Path: utzoo!utgpu!water!watmath!uunet!lll-winken!lll-tis!pacbell!ditka!csanta!greg From: greg@csanta.UUCP (Greg Comeau) Newsgroups: unix-pc.sources Subject: Re: Larry Wall's patch v2.0-11 (1 of 3) Message-ID: <135@csanta.UUCP> Date: 14 Jun 88 14:09:15 GMT References: <6800070@fthood> <409@kosman.UUCP> Reply-To: greg@csanta.UUCP (Root) Organization: Comeau Computing, Richmond Hill, NY Lines: 11 In article <409@kosman.UUCP> kevin@kosman.UUCP (Kevin O'Gorman) writes: > char *s = rindex(rejname,'/'); > >The compiler is complaining about the initializer on the declaration of >variable s, and I don't blame it. It is most likely complaining because rindex() has either not been declared or because rindex is not declared a 'char *' and hence there is a mismatched pointer. rindex() should be declares in a .h file somewhere that probably didn't get include.