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/fcecd8e2f7c0
branches:  trunk
changeset: 961345:fcecd8e2f7c0
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 05bbfa9f2f24 -r fcecd8e2f7c0 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