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/82697d605c20
branches:  trunk
changeset: 378548:82697d605c20
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 6f54ad5318a1 -r 82697d605c20 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 @@ Job_FlagsToString(const Job *job, char *
 }
 
 static void
-job_table_dump(const char *where)
+DumpJobs(const char *where)
 {
        Job *job;
        char flags[4];
@@ -710,7 +710,7 @@ JobFindPid(int pid, JobStatus status, bo
                        return job;
        }
        if (DEBUG(JOB) && isJobs)
-               job_table_dump("no pid");
+               DumpJobs("no pid");
        return NULL;
 }
 
@@ -1514,7 +1514,7 @@ JobExec(Job *job, char **argv)
        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