From: Michal Privoznik Date: Fri, 12 Apr 2024 10:29:34 +0000 (+0200) Subject: vsh: Drop fwd declaration of a nonexistent function X-Git-Tag: v10.3.0-rc1~61 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2e72cfe25d153fca4f5dfa7fe4cc5bd71f6d6f52;p=thirdparty%2Flibvirt.git vsh: Drop fwd declaration of a nonexistent function The vshFindTypedParamByName() function no longer exists (as of v1.0.2-rc1~82), but its header file declaration was still kept around. Drop it. Signed-off-by: Michal Privoznik Reviewed-by: Peter Krempa --- diff --git a/tools/vsh.h b/tools/vsh.h index f06d65407d..eeba1d4b3c 100644 --- a/tools/vsh.h +++ b/tools/vsh.h @@ -314,9 +314,6 @@ void vshDebug(vshControl *ctl, int level, const char *format, ...) #define vshStrcasecmp(S1, S2) strcasecmp(S1, S2) int vshNameSorter(const void *a, const void *b); -virTypedParameterPtr vshFindTypedParamByName(const char *name, - virTypedParameterPtr list, - int count); char *vshGetTypedParamValue(vshControl *ctl, virTypedParameterPtr item) ATTRIBUTE_NONNULL(1) ATTRIBUTE_NONNULL(2);