From 66198258e73c3fd129725bd66ebdd69baf87a0b0 Mon Sep 17 00:00:00 2001
From: ram <ram>
Date: Sat, 31 Jul 1993 19:07:47 +0000
Subject: [PATCH] renamed shutdown to server_shutdown to avoid HpUx name
 conflict.

---
 motif/server/main.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/motif/server/main.c b/motif/server/main.c
index 6b0479985..1ac54a10a 100644
--- a/motif/server/main.c
+++ b/motif/server/main.c
@@ -42,7 +42,7 @@ void close_sockets()
   unlink(socket_path);
 }
 
-void shutdown()
+void server_shutdown()
 {
   fprintf(stderr,"Caught signal.\n");
   close_sockets();
@@ -197,9 +197,9 @@ main(int argc, char **argv)
   start_server(port, socket_path);
 
   /* Catch signals and remove our sockets before going away. */
-  signal(SIGHUP, shutdown);
-  signal(SIGINT, shutdown);
-  signal(SIGQUIT, shutdown);
+  signal(SIGHUP, server_shutdown);
+  signal(SIGINT, server_shutdown);
+  signal(SIGQUIT, server_shutdown);
 
   printf("Waiting for connection.\n");
 
-- 
GitLab