summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-12-18 22:03:21 +0100
committerinfirit <[email protected]>2014-12-18 22:03:21 +0100
commit32827611955580758d2e6ef7d88b43b7fd318723 (patch)
tree59ff7f090e5e98ea0febdbe9bedfe325b321c9b7
parentc133c2c81935f77ac35d341e2cb5378222b2ea55 (diff)
downloadmate-system-monitor-32827611955580758d2e6ef7d88b43b7fd318723.tar.bz2
mate-system-monitor-32827611955580758d2e6ef7d88b43b7fd318723.tar.xz
Fix function definition format in util.cpp
Taken from GSM commit: b21ba6cae5e66d89cd08159a442f525774b0fdc3 From: Chris Kühl <[email protected]>
-rw-r--r--src/util.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/util.cpp b/src/util.cpp
index 8e2f7f4..bd95733 100644
--- a/src/util.cpp
+++ b/src/util.cpp
@@ -290,7 +290,8 @@ is_debug_enabled(void)
}
-static double get_relative_time(void)
+static double
+get_relative_time(void)
{
static unsigned long start_time;
GTimeVal tv;
@@ -305,8 +306,8 @@ static double get_relative_time(void)
return (tv.tv_sec - start_time) + 1e-6 * tv.tv_usec;
}
-static
-guint64 get_size_from_column(GtkTreeModel* model, GtkTreeIter* first,
+static guint64
+get_size_from_column(GtkTreeModel* model, GtkTreeIter* first,
const guint index)
{
GValue value = { 0 };