Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/xlint/lint1 lint: rename fnaddreplsrcdir to somethin...



details:   https://anonhg.NetBSD.org/src/rev/0371e2efb3be
branches:  trunk
changeset: 981936:0371e2efb3be
user:      rillig <rillig%NetBSD.org@localhost>
date:      Sat Mar 27 11:50:34 2021 +0000

description:
lint: rename fnaddreplsrcdir to something less cryptic

No functional change.

diffstat:

 usr.bin/xlint/lint1/externs1.h |  4 ++--
 usr.bin/xlint/lint1/main1.c    |  6 +++---
 usr.bin/xlint/lint1/mem1.c     |  6 +++---
 3 files changed, 8 insertions(+), 8 deletions(-)

diffs (72 lines):

diff -r 841c89a1bf0f -r 0371e2efb3be usr.bin/xlint/lint1/externs1.h
--- a/usr.bin/xlint/lint1/externs1.h    Sat Mar 27 11:47:59 2021 +0000
+++ b/usr.bin/xlint/lint1/externs1.h    Sat Mar 27 11:50:34 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: externs1.h,v 1.88 2021/03/27 11:47:59 rillig Exp $     */
+/*     $NetBSD: externs1.h,v 1.89 2021/03/27 11:50:34 rillig Exp $     */
 
 /*
  * Copyright (c) 1994, 1995 Jochen Pohl
@@ -95,7 +95,7 @@
  */
 extern const   char *fnnalloc(const char *, size_t);
 extern int     getfnid(const char *);
-extern void    fnaddreplsrcdir(char *);
+extern void    add_directory_replacement(char *);
 extern const char *fnxform(const char *, size_t);
 
 extern void    initmem(void);
diff -r 841c89a1bf0f -r 0371e2efb3be usr.bin/xlint/lint1/main1.c
--- a/usr.bin/xlint/lint1/main1.c       Sat Mar 27 11:47:59 2021 +0000
+++ b/usr.bin/xlint/lint1/main1.c       Sat Mar 27 11:50:34 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: main1.c,v 1.39 2021/03/26 20:31:07 rillig Exp $        */
+/*     $NetBSD: main1.c,v 1.40 2021/03/27 11:50:34 rillig Exp $        */
 
 /*
  * Copyright (c) 1994, 1995 Jochen Pohl
@@ -37,7 +37,7 @@
 
 #include <sys/cdefs.h>
 #if defined(__RCSID) && !defined(lint)
-__RCSID("$NetBSD: main1.c,v 1.39 2021/03/26 20:31:07 rillig Exp $");
+__RCSID("$NetBSD: main1.c,v 1.40 2021/03/27 11:50:34 rillig Exp $");
 #endif
 
 #include <sys/types.h>
@@ -206,7 +206,7 @@
                        return 0;
 
                case 'R':
-                       fnaddreplsrcdir(optarg);
+                       add_directory_replacement(optarg);
                        break;
 
                case 'X':
diff -r 841c89a1bf0f -r 0371e2efb3be usr.bin/xlint/lint1/mem1.c
--- a/usr.bin/xlint/lint1/mem1.c        Sat Mar 27 11:47:59 2021 +0000
+++ b/usr.bin/xlint/lint1/mem1.c        Sat Mar 27 11:50:34 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mem1.c,v 1.29 2021/03/27 11:47:59 rillig Exp $ */
+/*     $NetBSD: mem1.c,v 1.30 2021/03/27 11:50:34 rillig Exp $ */
 
 /*
  * Copyright (c) 1994, 1995 Jochen Pohl
@@ -37,7 +37,7 @@
 
 #include <sys/cdefs.h>
 #if defined(__RCSID) && !defined(lint)
-__RCSID("$NetBSD: mem1.c,v 1.29 2021/03/27 11:47:59 rillig Exp $");
+__RCSID("$NetBSD: mem1.c,v 1.30 2021/03/27 11:50:34 rillig Exp $");
 #endif
 
 #include <sys/types.h>
@@ -85,7 +85,7 @@
 struct repl *replist;
 
 void
-fnaddreplsrcdir(char *arg)
+add_directory_replacement(char *arg)
 {
        struct repl *r = xmalloc(sizeof *r);
 



Home | Main Index | Thread Index | Old Index