RPM Community Forums

Mailing List Message of <rpm-devel>

Re: [CVS] RPM: rpm-5_0: rpm/lib/ rpm4compat.h

From: Anders F Björklund <afb@rpm5.org>
Date: Mon 10 Mar 2008 - 15:18:18 CET
Message-Id: <03B1A681-D85E-4470-9732-6DD1BBDDCC34@rpm5.org>
>   Server: rpm5.org                         Name:   Per Øyvind Karlsen
>   Root:   /v/rpm/cvs                       Email:  pkarlsen@rpm5.org
>   Module: rpm                              Date:   05-Mar-2008  
> 17:45:17
>   Branch: rpm-5_0                          Handle: 2008030516451700
>
>   Modified files:           (Branch: rpm-5_0)
>     rpm/lib                 rpm4compat.h
>
>   Log:
>     make all functions static inline
>
>   Summary:
>     Revision    Changes     Path
>     1.1.2.10    +7  -7      rpm/lib/rpm4compat.h
>    
> ______________________________________________________________________ 
> ______

I can't get "static inline" to work, any better than "extern inline"...

/usr/local/include/rpm/rpm4compat.h:291: error: static declaration of  
'rpmtsImportPubkey' follows non-static declaration

/usr/local/include/rpm/rpm4compat.h:291: error: 'rpmRC  
rpmtsImportPubkey(rpmts_s*, const unsigned char*, ssize_t)' was  
declared 'extern' and later 'static'

Errors above were from HEAD, but change came from 5.0 branch originally.

--anders
Received on Mon Mar 10 15:18:19 2008
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.