There's no need for any caller to know vshTableRow typedef.
Signed-off-by: Michal Privoznik <mprivozn(a)redhat.com>
---
tools/vsh-table.c | 1 +
tools/vsh-table.h | 1 -
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/vsh-table.c b/tools/vsh-table.c
index 7fb0f13ee6..aa2deb8c72 100644
--- a/tools/vsh-table.c
+++ b/tools/vsh-table.c
@@ -31,6 +31,7 @@
#define HEX_ENCODE_LENGTH 4 /* represents length of '\xNN' */
+typedef struct _vshTableRow vshTableRow;
struct _vshTableRow {
char **cells;
size_t ncells;
diff --git a/tools/vsh-table.h b/tools/vsh-table.h
index 5ce416cfa1..ad2e8ed50f 100644
--- a/tools/vsh-table.h
+++ b/tools/vsh-table.h
@@ -23,7 +23,6 @@
#include "vsh.h"
typedef struct _vshTable vshTable;
-typedef struct _vshTableRow vshTableRow;
void vshTableFree(vshTable *table);
vshTable *vshTableNew(const char *format, ...);
--
2.32.0