summaryrefslogtreecommitdiff
path: root/apps/examples/thttpd
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-04-13 16:24:28 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-04-13 16:24:28 -0600
commit43ec94a665e13552402ff4f102e0f65f6792cf29 (patch)
tree05da26d1bb5e364c1a388afd54630d5ae3ca4aa7 /apps/examples/thttpd
parent70b6bb22af51defd713adfd452309f32f0e523aa (diff)
downloadnuttx-43ec94a665e13552402ff4f102e0f65f6792cf29.tar.gz
nuttx-43ec94a665e13552402ff4f102e0f65f6792cf29.tar.bz2
nuttx-43ec94a665e13552402ff4f102e0f65f6792cf29.zip
More trailing whilespace removal
Diffstat (limited to 'apps/examples/thttpd')
-rw-r--r--apps/examples/thttpd/Makefile2
-rw-r--r--apps/examples/thttpd/content/Makefile2
-rw-r--r--apps/examples/thttpd/content/hello/Makefile2
-rw-r--r--apps/examples/thttpd/content/hello/hello.c2
-rw-r--r--apps/examples/thttpd/content/index.html2
-rw-r--r--apps/examples/thttpd/content/netstat/Makefile2
-rw-r--r--apps/examples/thttpd/content/style.css18
-rw-r--r--apps/examples/thttpd/content/tasks/Makefile2
-rw-r--r--apps/examples/thttpd/content/tasks/tasks.c12
9 files changed, 22 insertions, 22 deletions
diff --git a/apps/examples/thttpd/Makefile b/apps/examples/thttpd/Makefile
index 85a26d39f..b74dc70dd 100644
--- a/apps/examples/thttpd/Makefile
+++ b/apps/examples/thttpd/Makefile
@@ -62,7 +62,7 @@ ROOTDEPPATH = --dep-path .
# Common build
-VPATH =
+VPATH =
all: .built
.PHONY: headers clean depend distclean
diff --git a/apps/examples/thttpd/content/Makefile b/apps/examples/thttpd/content/Makefile
index b4deddef5..9ef8fe98a 100644
--- a/apps/examples/thttpd/content/Makefile
+++ b/apps/examples/thttpd/content/Makefile
@@ -56,7 +56,7 @@ $(foreach DIR, $(SUBDIRS), $(eval $(call DIR_template,$(DIR),build, all)))
$(foreach DIR, $(SUBDIRS), $(eval $(call DIR_template,$(DIR),clean,clean)))
$(foreach DIR, $(SUBDIRS), $(eval $(call DIR_template,$(DIR),install,install)))
-# Build program(s) in each sud-directory
+# Build program(s) in each sud-directory
build: $(foreach DIR, $(SUBDIRS), $(DIR)_build)
diff --git a/apps/examples/thttpd/content/hello/Makefile b/apps/examples/thttpd/content/hello/Makefile
index 2cdead59c..2856490ab 100644
--- a/apps/examples/thttpd/content/hello/Makefile
+++ b/apps/examples/thttpd/content/hello/Makefile
@@ -69,7 +69,7 @@ $(BIN): $(BIN).r2
@echo "LD: $<"
$(Q) $(LDNXFLAT) $(LDNXFLATFLAGS) -o $@ $^
-clean:
+clean:
$(call DELFILE, $(BIN))
$(call DELFILE, $(R2SRC))
$(call DELFILE, *.r1)
diff --git a/apps/examples/thttpd/content/hello/hello.c b/apps/examples/thttpd/content/hello/hello.c
index 386759fc2..1187852d6 100644
--- a/apps/examples/thttpd/content/hello/hello.c
+++ b/apps/examples/thttpd/content/hello/hello.c
@@ -70,7 +70,7 @@ int main(int argc, char *argv[])
"</div>\r\n"
"<div class=\"contentblock\">\r\n");
printf(
- "<h2>Hello, World!</h2><p>Requested by: %s</p>\r\n",
+ "<h2>Hello, World!</h2><p>Requested by: %s</p>\r\n",
getenv("REMOTE_ADDR"));
puts(
"</body>\r\n"
diff --git a/apps/examples/thttpd/content/index.html b/apps/examples/thttpd/content/index.html
index 1fba1fbf6..fba05f407 100644
--- a/apps/examples/thttpd/content/index.html
+++ b/apps/examples/thttpd/content/index.html
@@ -2,7 +2,7 @@
<html>
<head>
<title>NuttX examples/thttpd</title>
- <link rel="stylesheet" type="text/css" href="style.css">
+ <link rel="stylesheet" type="text/css" href="style.css">
</head>
<body bgcolor="#fffeec" text="black">
diff --git a/apps/examples/thttpd/content/netstat/Makefile b/apps/examples/thttpd/content/netstat/Makefile
index 98675bd88..6d89bcd88 100644
--- a/apps/examples/thttpd/content/netstat/Makefile
+++ b/apps/examples/thttpd/content/netstat/Makefile
@@ -69,7 +69,7 @@ $(BIN): $(BIN).r2
@echo "LD: $<"
$(Q) $(LDNXFLAT) $(LDNXFLATFLAGS) -o $@ $^
-clean:
+clean:
$(call DELFILE, $(BIN))
$(call DELFILE, $(R2SRC))
$(call DELFILE, *.r1)
diff --git a/apps/examples/thttpd/content/style.css b/apps/examples/thttpd/content/style.css
index bfb0997a8..bd3395b34 100644
--- a/apps/examples/thttpd/content/style.css
+++ b/apps/examples/thttpd/content/style.css
@@ -1,10 +1,10 @@
-h1
+h1
{
text-align: center;
font-size:14pt;
font-family:arial,helvetica;
font-weight:bold;
- padding:10px;
+ padding:10px;
}
body
@@ -24,7 +24,7 @@ body
background-color: #fffcd2;
text-align:left;
font-size:9pt;
- font-family:arial,helvetica;
+ font-family:arial,helvetica;
}
div.menubox
@@ -36,14 +36,14 @@ div.menubox
}
.contentblock
-{
+{
margin: 4px;
width:60%;
padding:2px;
border: 1px dotted;
background-color: white;
font-size:8pt;
- font-family:arial,helvetica;
+ font-family:arial,helvetica;
}
p.intro
@@ -51,20 +51,20 @@ p.intro
margin-left:20px;
margin-right:20px;
font-size:10pt;
- font-family:arial,helvetica;
+ font-family:arial,helvetica;
}
p.clink
{
font-size:12pt;
- font-family:courier,monospace;
+ font-family:courier,monospace;
text-align:center;
}
p.clink9
{
font-size:9pt;
- font-family:courier,monospace;
+ font-family:courier,monospace;
text-align:center;
}
@@ -75,6 +75,6 @@ p
p.right
{
- text-align:right;
+ text-align:right;
}
diff --git a/apps/examples/thttpd/content/tasks/Makefile b/apps/examples/thttpd/content/tasks/Makefile
index bf9811524..418fca2b3 100644
--- a/apps/examples/thttpd/content/tasks/Makefile
+++ b/apps/examples/thttpd/content/tasks/Makefile
@@ -69,7 +69,7 @@ $(BIN): $(BIN).r2
@echo "LD: $<"
$(Q) $(LDNXFLAT) $(LDNXFLATFLAGS) -o $@ $^
-clean:
+clean:
$(call DELFILE, $(BIN))
$(call DELFILE, $(R2SRC))
$(call DELFILE, *.r1)
diff --git a/apps/examples/thttpd/content/tasks/tasks.c b/apps/examples/thttpd/content/tasks/tasks.c
index 393ef5a23..a6cf14adc 100644
--- a/apps/examples/thttpd/content/tasks/tasks.c
+++ b/apps/examples/thttpd/content/tasks/tasks.c
@@ -64,15 +64,15 @@ static const char *g_statenames[] =
{
"INVALID ",
"PENDING ",
- "READY ",
- "RUNNING ",
- "INACTIVE",
- "WAITSEM ",
+ "READY ",
+ "RUNNING ",
+ "INACTIVE",
+ "WAITSEM ",
#ifndef CONFIG_DISABLE_MQUEUE
- "WAITSIG ",
+ "WAITSIG ",
#endif
#ifndef CONFIG_DISABLE_MQUEUE
- "MQNEMPTY",
+ "MQNEMPTY",
"MQNFULL "
#endif
};