]> git.sur5r.net Git - openldap/blobdiff - servers/slurpd/admin.c
Remove lint
[openldap] / servers / slurpd / admin.c
index af28544d18451144c85cced4163bdcca26f2aa00..d3017932e12c19b190bba068ed031082b4ca3cc9 100644 (file)
@@ -1,3 +1,4 @@
+/* $OpenLDAP$ */
 /*
  * Copyright (c) 1996 Regents of the University of Michigan.
  * All rights reserved.
@@ -35,9 +36,9 @@
  * slurpd receives a USR2 signal, it will dump its replication 
  * queue to the disk file given by SLURPD_DUMPFILE.
  */
-void
-do_admin()
+RETSIGTYPE
+do_admin( int sig )
 {
     sglob->rq->rq_dump( sglob->rq );
-    (void) SIGNAL( SIGUSR2, (void *) do_admin );
+    (void) SIGNAL( sig, do_admin );
 }