summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Jeffrey Hutzelman <jhutz@cmu.edu>2013-04-03 17:51:41 -0400
committerGravatar Jeffrey Hutzelman <jhutz@cmu.edu>2013-04-03 17:53:28 -0400
commit6073bd61fc1af60a90b71150911a76787e031355 (patch)
tree5e19290b405d3a30f4681ddb6597a31ea2e3e93a
parenta43459baed17f48dadee3fb3f967672bea6be168 (diff)
Fix prototype and style issues in test_server
-rw-r--r--server/test_server.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/server/test_server.c b/server/test_server.c
index f613b6f..b9b0277 100644
--- a/server/test_server.c
+++ b/server/test_server.c
@@ -47,9 +47,10 @@ extern Location *locations;
int failures = 0;
-void test_uloc();
+void test_uloc(void);
-main() {
+int main(int argc, char **argv)
+{
puts("Zephyr server testing");
puts("");
@@ -59,7 +60,8 @@ main() {
}
void
-test_uloc() {
+test_uloc(void)
+{
ZNotice_t z1, z2, z0, z4;
String *s1, *s2, *s0, *s4;
struct sockaddr_in who1, who2, who3, who0, who4;