summaryrefslogtreecommitdiffstats
path: root/test/time-sem.c
diff options
context:
space:
mode:
authorJim Jagielski <jim@apache.org>2005-11-16 17:31:25 +0100
committerJim Jagielski <jim@apache.org>2005-11-16 17:31:25 +0100
commit08c97ba290d9b8cb32992529db3f66c6c3c35589 (patch)
treeae985c5fa21f1cd0401e544872f2c6fde0f70cc9 /test/time-sem.c
parentUpdate transformations. (diff)
downloadapache2-08c97ba290d9b8cb32992529db3f66c6c3c35589.tar.xz
apache2-08c97ba290d9b8cb32992529db3f66c6c3c35589.zip
No functional change: remove "internal" tab spacing/formatting.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@345053 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test/time-sem.c')
-rw-r--r--test/time-sem.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/time-sem.c b/test/time-sem.c
index 2b7f957ecc..b1a4d557cf 100644
--- a/test/time-sem.c
+++ b/test/time-sem.c
@@ -467,7 +467,7 @@ static void *get_shared_mem(apr_size_t size)
}
#endif
-#define BADSHMAT ((void *)(-1))
+#define BADSHMAT ((void *)(-1))
if ((result = shmat(shmid, 0, 0)) == BADSHMAT) {
perror("shmat");
}
@@ -478,12 +478,12 @@ static void *get_shared_mem(apr_size_t size)
if (shmctl(shmid, IPC_RMID, NULL) != 0) {
perror("shmctl(IPC_RMID)");
}
- if (result == BADSHMAT) /* now bailout */
+ if (result == BADSHMAT) /* now bailout */
exit(1);
#ifdef MOVEBREAK
if (obrk == (char *) -1)
- return; /* nothing else to do */
+ return; /* nothing else to do */
if (sbrk(-(MOVEBREAK)) == (char *) -1) {
perror("sbrk 2");
}
@@ -496,9 +496,9 @@ static void *get_shared_mem(apr_size_t size)
/* don't ask */
#define _P __P
#include <sched.h>
-#define YIELD sched_yield()
+#define YIELD sched_yield()
#else
-#define YIELD do { struct timeval zero; zero.tv_sec = zero.tv_usec = 0; select(0,0,0,0,&zero); } while(0)
+#define YIELD do { struct timeval zero; zero.tv_sec = zero.tv_usec = 0; select(0,0,0,0,&zero); } while(0)
#endif
void main (int argc, char **argv)