git: 2bd7bd0bbe79 - stable/12 - ctf: Remove unused function prototype for getpname()
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 27 Feb 2023 03:15:58 UTC
The branch stable/12 has been updated by zlei: URL: https://cgit.FreeBSD.org/src/commit/?id=2bd7bd0bbe796f3d538923d9f59de66a5694260b commit 2bd7bd0bbe796f3d538923d9f59de66a5694260b 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:15:00 +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) (cherry picked from commit eba26d0ba37e647572b3ec285352f778ef0ec9f0) --- 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