Changeset 79e6ccdd in rtems
- Timestamp:
- 06/12/07 16:45:40 (15 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- 44a5bb7
- Parents:
- df1aa03
- Location:
- cpukit
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
cpukit/ChangeLog
rdf1aa03 r79e6ccdd 1 2007-06-12 Ralf Corsépius <ralf.corsepius@rtems.org> 2 3 * shttpd/defs.h: Eliminate my_strncasecmp. 4 * shttpd/string.c: Eliminate my_strncasecmp. 5 1 6 2007-06-12 Ralf Corsépius <ralf.corsepius@rtems.org> 2 7 -
cpukit/shttpd/defs.h
rdf1aa03 r79e6ccdd 382 382 #endif 383 383 384 #ifndef HAVE_STRNCASECMP 384 385 extern int my_strncasecmp(register const char *, 385 386 register const char *, size_t); 387 #else 388 #ifdef __rtems__ 389 /* strncasecmp should be in strings.h, but newlib has it in <string.h> */ 390 #include <string.h> 391 #else 392 #include <strings.h> 393 #endif 394 #define my_strncasecmp(s1,s2,l) strncasecmp(s1,s2,l) 395 #endif 386 396 387 397 #ifndef HAVE_STRNDUP -
cpukit/shttpd/string.c
rdf1aa03 r79e6ccdd 21 21 #endif 22 22 23 #ifndef HAVE_STRNCASECMP 23 24 int 24 25 my_strncasecmp(const char *str1, const char *str2, size_t len) … … 34 35 return (ret); 35 36 } 37 #endif 36 38 37 39 #ifndef HAVE_STRNDUP
Note: See TracChangeset
for help on using the changeset viewer.