summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiall O'Higgins <niallo@cvs.openbsd.org>2005-03-28 22:41:52 +0000
committerNiall O'Higgins <niallo@cvs.openbsd.org>2005-03-28 22:41:52 +0000
commit344c07e7038822afee35bc582f83da76cbdd8bb3 (patch)
tree59ff29a20d4c2550e36acbef64b0666ba6c0c63a
parentf01344149f0a1b8548016e4c0a42bcdc1c56fef2 (diff)
- More KNF
- Forgot an $OpenBSD$ no binary changes.
-rw-r--r--usr.sbin/httpd/src/os/unix/os-inline.c4
-rw-r--r--usr.sbin/httpd/src/os/unix/os.c12
2 files changed, 9 insertions, 7 deletions
diff --git a/usr.sbin/httpd/src/os/unix/os-inline.c b/usr.sbin/httpd/src/os/unix/os-inline.c
index a7f1e0af81f..fbbbd3f0999 100644
--- a/usr.sbin/httpd/src/os/unix/os-inline.c
+++ b/usr.sbin/httpd/src/os/unix/os-inline.c
@@ -1,3 +1,5 @@
+/* $OpenBSD: os-inline.c,v 1.3 2005/03/28 22:41:51 niallo Exp $ */
+
/*
* This file contains functions which can be inlined if the compiler
* has an "inline" modifier. Because of this, this file is both a
@@ -28,5 +30,5 @@
INLINE int
ap_os_is_path_absolute(const char *file)
{
- return file[0] == '/';
+ return file[0] == '/';
}
diff --git a/usr.sbin/httpd/src/os/unix/os.c b/usr.sbin/httpd/src/os/unix/os.c
index 31952cc637f..bb8dc1cd4e3 100644
--- a/usr.sbin/httpd/src/os/unix/os.c
+++ b/usr.sbin/httpd/src/os/unix/os.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: os.c,v 1.10 2005/03/28 14:01:14 niallo Exp $ */
+/* $OpenBSD: os.c,v 1.11 2005/03/28 22:41:51 niallo Exp $ */
/*
* This file will include OS specific functions which are not inlineable.
@@ -33,24 +33,24 @@ ap_os_dso_init(void)
void
*ap_os_dso_load(const char *path)
{
- return dlopen(path, RTLD_NOW | RTLD_GLOBAL);
+ return dlopen(path, RTLD_NOW | RTLD_GLOBAL);
}
void
ap_os_dso_unload(void *handle)
{
- dlclose(handle);
- return;
+ dlclose(handle);
+ return;
}
void
*ap_os_dso_sym(void *handle, const char *symname)
{
- return dlsym(handle, symname);
+ return dlsym(handle, symname);
}
const char *
ap_os_dso_error(void)
{
- return dlerror();
+ return dlerror();
}