From 9e1cda95fbc7af4f8c9b6de1d154255438f2ff76 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Sat, 27 Jul 2019 08:49:34 -0600 Subject: [PATCH] Cosmetic fixes to spacing. --- examples/webserver/Makefile | 4 ++-- netutils/webclient/Makefile | 3 ++- netutils/webserver/Makefile | 12 ++++++------ netutils/webserver/httpd.c | 1 + 4 files changed, 11 insertions(+), 9 deletions(-) diff --git a/examples/webserver/Makefile b/examples/webserver/Makefile index dec488d03..c6f0e1d00 100644 --- a/examples/webserver/Makefile +++ b/examples/webserver/Makefile @@ -40,8 +40,8 @@ CSRCS = cgi.c httpd_fsdata.c MAINSRC = webserver_main.c -CONFIG_XYZ_PROGNAME ?= webserver$(EXEEXT) -PROGNAME = $(CONFIG_XYZ_PROGNAME) +CONFIG_EXAMPLES_WEBSERVER_PROGNAME ?= webserver$(EXEEXT) +PROGNAME = $(CONFIG_EXAMPLES_WEBSERVER_PROGNAME) # Webserver built-in application info diff --git a/netutils/webclient/Makefile b/netutils/webclient/Makefile index f5a1e2cf0..b6e1a33ba 100644 --- a/netutils/webclient/Makefile +++ b/netutils/webclient/Makefile @@ -36,8 +36,9 @@ -include $(TOPDIR)/Make.defs # Web client library + ifeq ($(CONFIG_NET_TCP),y) -CSRCS = webclient.c +CSRCS = webclient.c endif include $(APPDIR)/Application.mk diff --git a/netutils/webserver/Makefile b/netutils/webserver/Makefile index 65f923fb1..acdbd62ca 100644 --- a/netutils/webserver/Makefile +++ b/netutils/webserver/Makefile @@ -37,18 +37,18 @@ # Web server library -CSRCS = +CSRCS = ifeq ($(CONFIG_NET_TCP),y) -CSRCS += httpd.c httpd_cgi.c +CSRCS += httpd.c httpd_cgi.c ifeq ($(CONFIG_NETUTILS_HTTPD_SENDFILE),y) -CSRCS += httpd_sendfile.c +CSRCS += httpd_sendfile.c ifeq ($(CONFIG_NETUTILS_HTTPD_DIRLIST),y) -CSRCS += httpd_dirlist.c +CSRCS += httpd_dirlist.c endif else ifeq ($(CONFIG_NETUTILS_HTTPD_MMAP),y) -CSRCS += httpd_mmap.c +CSRCS += httpd_mmap.c else -CSRCS += httpd_fs.c +CSRCS += httpd_fs.c endif endif diff --git a/netutils/webserver/httpd.c b/netutils/webserver/httpd.c index 503c0eedf..2ff85fd35 100644 --- a/netutils/webserver/httpd.c +++ b/netutils/webserver/httpd.c @@ -1022,6 +1022,7 @@ static void single_server(uint16_t portno, pthread_startroutine_t handler, /**************************************************************************** * Public Functions ****************************************************************************/ + /**************************************************************************** * Name: httpd_listen *