Use modern style of function declarations where the return type
and function name are on two separate lines.
Signed-off-by: Michal Privoznik <mprivozn(a)redhat.com>
---
tools/vsh-table.h | 19 ++++++++++++++-----
1 file changed, 14 insertions(+), 5 deletions(-)
diff --git a/tools/vsh-table.h b/tools/vsh-table.h
index ad2e8ed50f..df647e3ba9 100644
--- a/tools/vsh-table.h
+++ b/tools/vsh-table.h
@@ -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);
--
2.32.0