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 automatically.
Yep, I think we can drop 'inline' in almost all cases in the whole code base.
With string.h I also think we should make it string.c and put the prototypes in a header. I don't like code in header files at all.
Uwe.