vsh-table: Hide vshTableRow typedef

There's no need for any caller to know vshTableRow typedef.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
Michal Privoznik 2021-12-15 10:35:50 +01:00
parent eb9bbde772
commit 74c6c8e679
2 changed files with 1 additions and 1 deletions

View File

@ -31,6 +31,7 @@
#define HEX_ENCODE_LENGTH 4 /* represents length of '\xNN' */
typedef struct _vshTableRow vshTableRow;
struct _vshTableRow {
char **cells;
size_t ncells;

View File

@ -23,7 +23,6 @@
#include "vsh.h"
typedef struct _vshTable vshTable;
typedef struct _vshTableRow vshTableRow;
void vshTableFree(vshTable *table);
vshTable *vshTableNew(const char *format, ...);