[PATCH] vsh: Drop fwd declaration of a nonexistent function

Michal Privoznik posted 1 patch 2 weeks, 6 days ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/b5354fb045282e355465f9859d6895d27d9047d7.1712917886.git.mprivozn@redhat.com
tools/vsh.h | 3 ---
1 file changed, 3 deletions(-)
[PATCH] vsh: Drop fwd declaration of a nonexistent function
Posted by Michal Privoznik 2 weeks, 6 days ago
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>
---
 tools/vsh.h | 3 ---
 1 file changed, 3 deletions(-)

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);
 
-- 
2.43.2
_______________________________________________
Devel mailing list -- devel@lists.libvirt.org
To unsubscribe send an email to devel-leave@lists.libvirt.org
Re: [PATCH] vsh: Drop fwd declaration of a nonexistent function
Posted by Peter Krempa 2 weeks, 6 days ago
On Fri, Apr 12, 2024 at 12:31:26 +0200, Michal Privoznik wrote:
> 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>
> ---

Trivial;

Reviewed-by: Peter Krempa <pkrempa@redhat.com>
_______________________________________________
Devel mailing list -- devel@lists.libvirt.org
To unsubscribe send an email to devel-leave@lists.libvirt.org