git: f8e1aa85fed0 - main - ctf: Remove unused function prototype for getpname()
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 26 Feb 2023 05:37:01 UTC
The branch main has been updated by zlei:
URL: https://cgit.FreeBSD.org/src/commit/?id=f8e1aa85fed08d5f689cb36d65a76d191f6500dd
commit f8e1aa85fed08d5f689cb36d65a76d191f6500dd
Author: Zhenlei Huang <zlei@FreeBSD.org>
AuthorDate: 2023-02-26 04:18:25 +0000
Commit: Zhenlei Huang <zlei@FreeBSD.org>
CommitDate: 2023-02-26 04:18:25 +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
---
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