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(1): unexport For_Iterate
details: https://anonhg.NetBSD.org/src/rev/3050462dc220
branches: trunk
changeset: 1013726:3050462dc220
user: rillig <rillig%NetBSD.org@localhost>
date: Fri Sep 04 17:35:00 2020 +0000
description:
make(1): unexport For_Iterate
By convention, exported functions have an underscore, and static
functions don't.
diffstat:
usr.bin/make/for.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (42 lines):
diff -r 96fed77831e5 -r 3050462dc220 usr.bin/make/for.c
--- a/usr.bin/make/for.c Fri Sep 04 17:09:03 2020 +0000
+++ b/usr.bin/make/for.c Fri Sep 04 17:35:00 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: for.c,v 1.67 2020/08/30 19:56:02 rillig Exp $ */
+/* $NetBSD: for.c,v 1.68 2020/09/04 17:35:00 rillig Exp $ */
/*
* Copyright (c) 1992, The Regents of the University of California.
@@ -30,14 +30,14 @@
*/
#ifndef MAKE_NATIVE
-static char rcsid[] = "$NetBSD: for.c,v 1.67 2020/08/30 19:56:02 rillig Exp $";
+static char rcsid[] = "$NetBSD: for.c,v 1.68 2020/09/04 17:35:00 rillig Exp $";
#else
#include <sys/cdefs.h>
#ifndef lint
#if 0
static char sccsid[] = "@(#)for.c 8.1 (Berkeley) 6/6/93";
#else
-__RCSID("$NetBSD: for.c,v 1.67 2020/08/30 19:56:02 rillig Exp $");
+__RCSID("$NetBSD: for.c,v 1.68 2020/09/04 17:35:00 rillig Exp $");
#endif
#endif /* not lint */
#endif
@@ -358,7 +358,7 @@
}
static char *
-For_Iterate(void *v_arg, size_t *ret_len)
+ForIterate(void *v_arg, size_t *ret_len)
{
For *arg = v_arg;
int i;
@@ -463,5 +463,5 @@
return;
}
- Parse_SetInput(NULL, lineno, -1, For_Iterate, arg);
+ Parse_SetInput(NULL, lineno, -1, ForIterate, arg);
}
Home |
Main Index |
Thread Index |
Old Index