diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-10-27 13:58:58 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-10-27 13:58:58 +0000 |
commit | 3f4b575df0b2ad83bb57b1fa4bfbe5f37f8abcac (patch) | |
tree | 090e2d665b704c2b4e215e255e9d2eb066d015bb /c/src/libnetworking/rtems_webserver/webmain.c | |
parent | Patch from Emmanuel Raguet <raguet@crf.canon.fr> and Eric Valette (diff) | |
download | rtems-3f4b575df0b2ad83bb57b1fa4bfbe5f37f8abcac.tar.bz2 |
Warnings removed. Still don't know what to do about the pragma
pack warnings in uemf.h.
Diffstat (limited to '')
-rw-r--r-- | c/src/libnetworking/rtems_webserver/webmain.c | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/c/src/libnetworking/rtems_webserver/webmain.c b/c/src/libnetworking/rtems_webserver/webmain.c index 9c12cd394c..f61b649ced 100644 --- a/c/src/libnetworking/rtems_webserver/webmain.c +++ b/c/src/libnetworking/rtems_webserver/webmain.c @@ -1,9 +1,11 @@ /* - * main.c -- Main program for the GoAhead WebServer (LINUX version) + * main.c -- Main program for the GoAhead WebServer (RTEMS version) * * Copyright (c) Go Ahead Software Inc., 1995-1999. All Rights Reserved. * * See the file "license.txt" for usage and redistribution license requirements + * + * $Id$ */ /******************************** Description *********************************/ @@ -21,6 +23,8 @@ #include <sys/time.h> #include <pthread.h> +#include <rtems/error.h> + /*********************************** Locals ***********************************/ /* * Change configuration here @@ -63,7 +67,7 @@ static void rtems_httpd_daemon(); /*********************************** Code *************************************/ /* - * Main -- entry point from LINUX + * Main -- entry point from RTEMS */ int rtems_initialize_webserver() { @@ -269,7 +273,10 @@ static void formTest(webs_t wp, char_t *path, char_t *query) void *emfCreateTimer(int delay, void (*routine)(long arg), long arg) { +/* this variable is only used in the if'ed 0 section below */ +#if 0 struct sigaction act; +#endif struct itimerspec its = { {0,0}, {0,0} }; struct sigevent se; int status; |