Re: [LinuxBIOS] r496 - in LinuxBIOSv3: include lib

2007-09-23 Thread Carl-Daniel Hailfinger
On 08.09.2007 21:36, [EMAIL PROTECTED] wrote: Author: uwe Date: 2007-09-08 21:36:35 +0200 (Sat, 08 Sep 2007) New Revision: 496 Modified: LinuxBIOSv3/include/string.h LinuxBIOSv3/lib/lar.c Log: Add a simple strncmp() implementation in include/string.h. Change lib/lar.c to use

Re: [LinuxBIOS] r496 - in LinuxBIOSv3: include lib

2007-09-23 Thread Uwe Hermann
On Sun, Sep 23, 2007 at 02:55:24PM +0200, Carl-Daniel Hailfinger wrote: +static inline int strncmp(const char *s1, const char *s2, int maxlen) Do we really want the inline keyword? Once we have more than one user, it is a waste of text size and with only one user AFAIK gcc inlines it