]> xenbits.xensource.com Git - libvirt.git/commitdiff
vsh: Drop fwd declaration of a nonexistent function
authorMichal Privoznik <mprivozn@redhat.com>
Fri, 12 Apr 2024 10:29:34 +0000 (12:29 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Fri, 12 Apr 2024 12:27:58 +0000 (14:27 +0200)
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 <mprivozn@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
tools/vsh.h

index f06d65407d1a8de1986a49eec56174ed9440974e..eeba1d4b3c2de7a75203c9a6abf942474a5c416d 100644 (file)
@@ -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);