summaryrefslogtreecommitdiff
path: root/finsh
diff options
context:
space:
mode:
authorqiuyiuestc <[email protected]>2010-01-10 15:15:27 +0000
committerqiuyiuestc <[email protected]>2010-01-10 15:15:27 +0000
commit6c267dc5cdfd26ea3520326ddc418eccdd840892 (patch)
tree2ccc2a4816e2e8a2a0c501d2b83267b587e22813 /finsh
parent25220a4a32ae3dca57f7a30690ec5b53ae301d73 (diff)
update rtc driver
add webserver support git-svn-id: https://rt-thread.googlecode.com/svn/trunk@295 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'finsh')
-rw-r--r--finsh/finsh.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/finsh/finsh.h b/finsh/finsh.h
index 1eb0310239..d97254bf9a 100644
--- a/finsh/finsh.h
+++ b/finsh/finsh.h
@@ -62,15 +62,15 @@ typedef unsigned int size_t;
#define strlen rt_strlen
#define strncpy rt_strncpy
#define strncmp rt_strncmp
-#else
-#include <string.h>
-#endif
int strcmp (const char *s1, const char *s2);
char *strdup(const char *s);
int isalpha( int ch );
int atoi(const char* s);
+#else
+#include <string.h>
+#endif
#endif
#define FINSH_VERSION_MAJOR 0