Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Feb 2023 03:14:45 GMT
From:      Zhenlei Huang <zlei@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: eba26d0ba37e - stable/13 - ctf: Remove unused function prototype for getpname()
Message-ID:  <202302270314.31R3EjIB056073@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by zlei:

URL: https://cgit.FreeBSD.org/src/commit/?id=eba26d0ba37e647572b3ec285352f778ef0ec9f0

commit eba26d0ba37e647572b3ec285352f778ef0ec9f0
Author:     Zhenlei Huang <zlei@FreeBSD.org>
AuthorDate: 2023-02-26 04:18:25 +0000
Commit:     Zhenlei Huang <zlei@FreeBSD.org>
CommitDate: 2023-02-27 03:12:48 +0000

    ctf: Remove unused function prototype for getpname()
    
    This function prototype should have been removed along with the
    implementation.
    
    Fixes:          3dd552426409 ctfdump: Use getprogname()
    MFC after:      1 day
    
    (cherry picked from commit f8e1aa85fed08d5f689cb36d65a76d191f6500dd)
---
 cddl/contrib/opensolaris/tools/ctf/common/utils.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/cddl/contrib/opensolaris/tools/ctf/common/utils.h b/cddl/contrib/opensolaris/tools/ctf/common/utils.h
index 99378bb4f251..6918bdab89aa 100644
--- a/cddl/contrib/opensolaris/tools/ctf/common/utils.h
+++ b/cddl/contrib/opensolaris/tools/ctf/common/utils.h
@@ -42,8 +42,6 @@ extern "C" {
 extern void vdie(const char  *, va_list);
 extern void die(const char *, ...);
 
-extern const char *getpname(void);
-
 #ifdef	__cplusplus
 }
 #endif



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202302270314.31R3EjIB056073>