From 13dfdf9a05bee3159aafcdc2d5fc16edd520eaa0 Mon Sep 17 00:00:00 2001 From: patacongo Date: Thu, 17 Dec 2009 15:01:02 +0000 Subject: [PATCH] Remove warnings git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2365 42af7a65-404d-4744-a932-0658087f49c3 --- netutils/thttpd/config.h | 6 +++--- netutils/thttpd/thttpd_strings.c | 2 +- netutils/thttpd/thttpd_strings.h | 6 +++++- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/netutils/thttpd/config.h b/netutils/thttpd/config.h index 1b5764c295..f1b4c2d4cf 100644 --- a/netutils/thttpd/config.h +++ b/netutils/thttpd/config.h @@ -33,8 +33,8 @@ * ****************************************************************************/ -#ifndef __NETUTILS_THTTPD_VERSION_H -#define __NETUTILS_THTTPD_VERSION_H +#ifndef __NETUTILS_THTTPD_CONFIG_H +#define __NETUTILS_THTTPD_CONFIG_H /**************************************************************************** * Included files @@ -249,5 +249,5 @@ # endif #endif /* Dependencies not provided */ -#endif /* __NETUTILS_THTTPD_VERSION_H */ +#endif /* __NETUTILS_THTTPD_CONFIG_H */ diff --git a/netutils/thttpd/thttpd_strings.c b/netutils/thttpd/thttpd_strings.c index 591f15665b..82836ee999 100755 --- a/netutils/thttpd/thttpd_strings.c +++ b/netutils/thttpd/thttpd_strings.c @@ -176,4 +176,4 @@ static void httpd_strencode(char *to, int tosize, char *from) *to = '\0'; } #endif /* CONFIG_THTTPD_GENERATE_INDICES */ -#endif /* CONFIG_THTTPD */ \ No newline at end of file +#endif /* CONFIG_THTTPD */ diff --git a/netutils/thttpd/thttpd_strings.h b/netutils/thttpd/thttpd_strings.h index dbd22e4e09..5bbaf7948f 100755 --- a/netutils/thttpd/thttpd_strings.h +++ b/netutils/thttpd/thttpd_strings.h @@ -34,6 +34,9 @@ * ****************************************************************************/ +#ifndef __NETUTILS_THTTPD_THTTPD_STRINGS_H +#define __NETUTILS_THTTPD_THTTPD_STRINGS_H + /**************************************************************************** * Included Files ****************************************************************************/ @@ -116,4 +119,5 @@ extern void httpd_strdecode(char *to, char *from); extern void httpd_strencode(char *to, int tosize, char *from); #endif -#endif /* CONFIG_THTTPD */ \ No newline at end of file +#endif /* CONFIG_THTTPD */ +#endif /* __NETUTILS_THTTPD_THTTPD_STRINGS_H */