Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/make make: align name of jobs_table_dump to the othe...



details:   https://anonhg.NetBSD.org/src/rev/4479b8afc681
branches:  trunk
changeset: 1020579:4479b8afc681
user:      rillig <rillig%NetBSD.org@localhost>
date:      Fri Apr 16 16:10:01 2021 +0000

description:
make: align name of jobs_table_dump to the other functions

diffstat:

 usr.bin/make/job.c |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (45 lines):

diff -r 3e5c8aacbcd3 -r 4479b8afc681 usr.bin/make/job.c
--- a/usr.bin/make/job.c        Fri Apr 16 15:53:55 2021 +0000
+++ b/usr.bin/make/job.c        Fri Apr 16 16:10:01 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: job.c,v 1.427 2021/04/15 19:06:42 rillig Exp $ */
+/*     $NetBSD: job.c,v 1.428 2021/04/16 16:10:01 rillig Exp $ */
 
 /*
  * Copyright (c) 1988, 1989, 1990 The Regents of the University of California.
@@ -142,7 +142,7 @@
 #include "trace.h"
 
 /*     "@(#)job.c      8.2 (Berkeley) 3/19/94" */
-MAKE_RCSID("$NetBSD: job.c,v 1.427 2021/04/15 19:06:42 rillig Exp $");
+MAKE_RCSID("$NetBSD: job.c,v 1.428 2021/04/16 16:10:01 rillig Exp $");
 
 /*
  * A shell defines how the commands are run.  All commands for a target are
@@ -478,7 +478,7 @@
 }
 
 static void
-job_table_dump(const char *where)
+DumpJobs(const char *where)
 {
        Job *job;
        char flags[4];
@@ -710,7 +710,7 @@
                        return job;
        }
        if (DEBUG(JOB) && isJobs)
-               job_table_dump("no pid");
+               DumpJobs("no pid");
        return NULL;
 }
 
@@ -1514,7 +1514,7 @@
        if (DEBUG(JOB)) {
                debug_printf("JobExec(%s): pid %d added to jobs table\n",
                    job->node->name, job->pid);
-               job_table_dump("job started");
+               DumpJobs("job started");
        }
        JobSigUnlock(&mask);
 }



Home | Main Index | Thread Index | Old Index