[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: misc.h and strlen?
- From: Jeff Johnson <jbj redhat com>
- To: rpm-list redhat com
- Subject: Re: misc.h and strlen?
- Date: Sat, 25 May 2002 10:17:29 -0400
On Fri, May 24, 2002 at 09:10:06PM -0500, Bob Tanner wrote:
> Working with an application that uses rpm's misc.h, getting the following error
> message:
>
> /usr/include/rpm/misc.h: In function `char *stripTrailingChar (char *, char)':
> /usr/include/rpm/misc.h:41: `strlen' undeclared (first use this function)
> /usr/include/rpm/misc.h:41: (Each undeclared identifier is reported
>
> Since misc.h needs strlen, shouldn't it #include <string.h>?
Possibly. What really needs doing is to eliminate misc.h entirely,
there's hardly anything of use in misc.h anymore, now that the rpmvercmp()
prototype is in <rpmlib.h>.
73 de Jeff
--
Jeff Johnson ARS N3NPQ
jbj@redhat.com (jbj@jbj.org)
Chapel Hill, NC
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[]