From 2bab906e0cedee58ec4c70053c86d47b01b57f05 Mon Sep 17 00:00:00 2001
From: Per Cederqvist <ceder@lysator.liu.se>
Date: Wed, 8 Jul 1998 13:59:22 +0000
Subject: [PATCH] (shutdown_kom): Flag unused arguments. (rcsid): Added a
 missing const.

---
 src/server/admin.c | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/src/server/admin.c b/src/server/admin.c
index 9d9d6a256..69e59a533 100644
--- a/src/server/admin.c
+++ b/src/server/admin.c
@@ -1,5 +1,5 @@
 /*
- * $Id: admin.c,v 0.25 1998/06/14 14:50:34 byers Exp $
+ * $Id: admin.c,v 0.26 1998/07/08 13:59:22 ceder Exp $
  * Copyright (C) 1991, 1993, 1994, 1995, 1996  Lysator Academic Computer Association.
  *
  * This file is part of the LysKOM server.
@@ -28,7 +28,8 @@
  * Administrative calls.
  */
 
-static char *rcsid = "$Id: admin.c,v 0.25 1998/06/14 14:50:34 byers Exp $";
+static const char *
+rcsid = "$Id: admin.c,v 0.26 1998/07/08 13:59:22 ceder Exp $";
 #include "rcs.h"
 USE(rcsid);
 
@@ -57,6 +58,7 @@ USE(rcsid);
 #include "services.h"
 #include "version-info.h"
 #include "aux-items.h"
+#include "unused.h"
 
 /* All of the fields in this structure except the version number
    is set from the configuration file at startup (see ramkomd.c).
@@ -311,7 +313,7 @@ sync_kom (void)
  * Close LysKOM. exit_val is (currently) not used. The database is synced.
  */
 extern Success
-shutdown_kom (int exit_val) 
+shutdown_kom (int UNUSED(exit_val))
 {
     char *name;
     char *user;
-- 
GitLab