aboutsummaryrefslogtreecommitdiffstats
path: root/progs/rbug/simple_server.c
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2010-01-01 16:25:37 -0800
committerVinson Lee <[email protected]>2010-01-01 16:25:37 -0800
commitad9defdd9c5c7a18c833cdacebe012604190f167 (patch)
tree33ec22e9d085aa47d90a2a72861a5d712aa9b718 /progs/rbug/simple_server.c
parent3ae37da6116d7a703b2752fd7978caad79ecfcf2 (diff)
progs/rbug: s/wait/rbug_wait/
wait conflicts with wait in /usr/include/sys/wait.h.
Diffstat (limited to 'progs/rbug/simple_server.c')
-rw-r--r--progs/rbug/simple_server.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/progs/rbug/simple_server.c b/progs/rbug/simple_server.c
index 04380c33109..3a842c06c4e 100644
--- a/progs/rbug/simple_server.c
+++ b/progs/rbug/simple_server.c
@@ -29,7 +29,7 @@
#include "rbug/rbug.h"
-static void wait()
+static void rbug_wait()
{
int s = u_socket_listen_on_port(13370);
int c = u_socket_accept(s);
@@ -57,6 +57,6 @@ static void wait()
int main(int argc, char** argv)
{
- wait();
+ rbug_wait();
return 0;
}