]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
vsh-table.h: Modernize declarations
authorMichal Privoznik <mprivozn@redhat.com>
Wed, 15 Dec 2021 09:37:25 +0000 (10:37 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Fri, 17 Dec 2021 14:05:54 +0000 (15:05 +0100)
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>
tools/vsh-table.h

index ad2e8ed50f2ccd4b6030b07638021ef607e9f245..df647e3ba912d46eca4a0ad4615d2e9216b47ef2 100644 (file)
 
 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);