summaryrefslogtreecommitdiffstats
path: root/cpukit/shttpd
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2008-07-31 05:39:58 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2008-07-31 05:39:58 +0000
commit79c91cc0d0269212578b9f1d2bbe5a51a4e9cd02 (patch)
tree81cfca80de10c45f3d938a533f14a2b63ee780c3 /cpukit/shttpd
parentFormatting. (diff)
downloadrtems-79c91cc0d0269212578b9f1d2bbe5a51a4e9cd02.tar.bz2
Replace C++-comments with C-comments.
Diffstat (limited to 'cpukit/shttpd')
-rw-r--r--cpukit/shttpd/compat_rtems.c14
1 files changed, 8 insertions, 6 deletions
diff --git a/cpukit/shttpd/compat_rtems.c b/cpukit/shttpd/compat_rtems.c
index 53d33d08a9..19f28d045c 100644
--- a/cpukit/shttpd/compat_rtems.c
+++ b/cpukit/shttpd/compat_rtems.c
@@ -30,7 +30,7 @@ typedef struct RTEMS_HTTPD_ARGS {
char webroot[MAX_WEB_BASE_PATH_LENGTH];
} RTEMS_HTTPD_ARGS;
-static int rtems_webserver_running = FALSE; //not running.
+static int rtems_webserver_running = FALSE; /* not running. */
static rtems_task rtems_httpd_daemon(rtems_task_argument args)
{
@@ -119,7 +119,7 @@ rtems_status_code rtems_initialize_webserver(
void rtems_terminate_webserver(void)
{
- rtems_webserver_running = FALSE; // not running, so terminate
+ rtems_webserver_running = FALSE; /* not running, so terminate */
}
int rtems_webserver_ok(void)
@@ -130,10 +130,12 @@ int rtems_webserver_ok(void)
void
set_close_on_exec(int fd)
{
- // RTEMS Does not have a functional "execve"
- // so technically this call does not do anything,
- // but it doesnt hurt either.
- (void) fcntl(fd, F_SETFD, FD_CLOEXEC);
+ /*
+ * RTEMS Does not have a functional "execve"
+ * so technically this call does not do anything,
+ * but it doesnt hurt either.
+ */
+ (void) fcntl(fd, F_SETFD, FD_CLOEXEC);
}
#ifndef __rtems__
int