diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-08-15 20:25:13 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-08-15 20:25:13 +0000 |
commit | 56ab42eee7193d7d36b54522fa2dc251acb396fd (patch) | |
tree | 571c139d02f740f2f3aefe77ff3ba2b73bbdce88 /nuttx/lib | |
parent | 0ddbcb2ada560e33f79f302c6287305acdc34e62 (diff) | |
download | px4-nuttx-56ab42eee7193d7d36b54522fa2dc251acb396fd.tar.gz px4-nuttx-56ab42eee7193d7d36b54522fa2dc251acb396fd.tar.bz2 px4-nuttx-56ab42eee7193d7d36b54522fa2dc251acb396fd.zip |
Get rid of cwd in THTTPD
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2021 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/lib')
-rw-r--r-- | nuttx/lib/lib_strcasecmp.c | 2 | ||||
-rw-r--r-- | nuttx/lib/lib_strncasecmp.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/lib/lib_strcasecmp.c b/nuttx/lib/lib_strcasecmp.c index d9c5e5636..233cd3fc1 100644 --- a/nuttx/lib/lib_strcasecmp.c +++ b/nuttx/lib/lib_strcasecmp.c @@ -54,7 +54,7 @@ #ifndef CONFIG_ARCH_STRCMP int strcasecmp(const char *cs, const char *ct) { - register int result; + int result; for (;;) { if ((result = (int)toupper(*cs) - (int)toupper(*ct)) != 0 || !*cs) diff --git a/nuttx/lib/lib_strncasecmp.c b/nuttx/lib/lib_strncasecmp.c index c34396a50..fc8bf7b72 100644 --- a/nuttx/lib/lib_strncasecmp.c +++ b/nuttx/lib/lib_strncasecmp.c @@ -54,7 +54,7 @@ #ifndef CONFIG_ARCH_STRNCASECMP int strncasecmp(const char *cs, const char *ct, size_t nb) { - register int result = 0; + int result = 0; for (; nb > 0; nb--) { if ((result = (int)toupper(*cs) - (int)toupper(*ct)) != 0 || !*cs) |