[PATCH 3/4] vsh-table.h: Modernize declarations

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Signed-off-by: Michal Privoznik <mprivozn@xxxxxxxxxx>
---
 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




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux