Declare strcasecmp here as it isn't part of C99.

This commit is contained in:
oliverschmidt 2007-11-18 00:46:26 +00:00
parent eabf01903d
commit f52ae57d99
2 changed files with 8 additions and 2 deletions

View file

@ -28,7 +28,7 @@
*
* This file is part of the Contiki operating system.
*
* @(#)$Id: contiki-conf.h,v 1.5 2007/05/12 21:00:56 oliverschmidt Exp $
* @(#)$Id: contiki-conf.h,v 1.6 2007/11/18 00:46:51 oliverschmidt Exp $
*/
#ifndef __CONTIKI_CONF_H__
@ -63,4 +63,7 @@ typedef unsigned long clock_time_t;
#define LOG_CONF_ENABLED 1
/* Not part of C99 but actually present */
int strcasecmp(const char*, const char*);
#endif /* __CONTIKI_CONF_H__ */

View file

@ -28,7 +28,7 @@
*
* This file is part of the Contiki operating system.
*
* @(#)$Id: contiki-conf.h,v 1.6 2007/11/17 18:08:56 adamdunkels Exp $
* @(#)$Id: contiki-conf.h,v 1.7 2007/11/18 00:46:26 oliverschmidt Exp $
*/
#ifndef __CONTIKI_CONF_H__
@ -65,4 +65,7 @@ typedef unsigned long clock_time_t;
#define LOG_CONF_ENABLED 1
/* Not part of C99 but actually present */
int strcasecmp(const char*, const char*);
#endif /* __CONTIKI_CONF_H__ */