I found this in several other files in lpr src directories.
Doesn't seem to get used in any lp* files or connect with anything
higher up.

Am I looking at this correctly or way off?
Thanks,
Chris


Index: rmjob.c
===================================================================
RCS file: /cvs/src/usr.sbin/lpr/common_source/rmjob.c,v
retrieving revision 1.23
diff -u -p -r1.23 rmjob.c
--- rmjob.c     12 Jan 2016 23:35:13 -0000      1.23
+++ rmjob.c     26 Jan 2016 17:36:10 -0000
@@ -62,7 +62,6 @@ static int    all = 0;                /* eliminate all fi
 static int     cur_daemon;             /* daemon's pid */
 static char    current[NAME_MAX];      /* active control file name */
 
-static void    alarmer(int);
 static int     chk(char *);
 static void    do_unlink(char *);
 static int     iscf(const struct dirent *);
@@ -366,7 +365,6 @@ rmremote(void)
                struct sigaction osa, nsa;
 
                memset(&nsa, 0, sizeof(nsa));
-               nsa.sa_handler = alarmer;
                sigemptyset(&nsa.sa_mask);
                nsa.sa_flags = 0;
                (void)sigaction(SIGALRM, &nsa, &osa);
@@ -387,11 +385,6 @@ bad:
        return;
 }
 
-static void
-alarmer(int s)
-{
-       /* nothing */
-}
 
 /*
  * Return 1 if the filename begins with 'cf'

Reply via email to