aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhenlei Huang <zlei@FreeBSD.org>2023-02-26 04:18:25 +0000
committerZhenlei Huang <zlei@FreeBSD.org>2023-02-27 03:15:00 +0000
commit2bd7bd0bbe796f3d538923d9f59de66a5694260b (patch)
tree0a47741606fbcc40f1d7b77ff7a30b069a193407
parent2178d68a54e0aabedc75373cd7593b1b163261aa (diff)
downloadsrc-2bd7bd0bbe796f3d538923d9f59de66a5694260b.tar.gz
src-2bd7bd0bbe796f3d538923d9f59de66a5694260b.zip
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)
-rw-r--r--cddl/contrib/opensolaris/tools/ctf/common/utils.h2
1 files changed, 0 insertions, 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