avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-gcc-list] Small error in header:pgmspace.h in function: strncasecmp


From: Sławomir Kawałek
Subject: [avr-gcc-list] Small error in header:pgmspace.h in function: strncasecmp_P
Date: Wed, 24 Apr 2002 15:18:58 +0200

Hello!

I have notice an error in header: pgmspace.h

There is now:
extern int strncasecmp_P(const char *, PGM_P) __ATTR_PURE__;

I think it should be:

extern int strncasecmp_P(const char *, PGM_P, size_t) __ATTR_PURE__;

this is missing last parameter size_t.

After this correction function works fine.

Slawomir Kawalek





avr-gcc-list at http://avr1.org



reply via email to

[Prev in Thread] Current Thread [Next in Thread]