vsh-table.h: Modernize declarations

Use modern style of function declarations where the return type
and function name are on two separate lines.

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:37:25 +01:00
parent 74c6c8e679
commit 2ac0e4c347

View File

@ -24,9 +24,18 @@
typedef struct _vshTable vshTable;
void vshTableFree(vshTable *table);
vshTable *vshTableNew(const char *format, ...);
int vshTableRowAppend(vshTable *table, const char *arg, ...);
void vshTablePrintToStdout(vshTable *table, vshControl *ctl);
char *vshTablePrintToString(vshTable *table, bool header);
void
vshTableFree(vshTable *table);
G_DEFINE_AUTOPTR_CLEANUP_FUNC(vshTable, vshTableFree);
vshTable *
vshTableNew(const char *format, ...);
int
vshTableRowAppend(vshTable *table, const char *arg, ...);
void
vshTablePrintToStdout(vshTable *table, vshControl *ctl);
char *
vshTablePrintToString(vshTable *table, bool header);