[gvfs/mtp-1.14.0: 44/49] Fix parentheses spacing.



commit e4ae9f6f95b88bc266ed0221c3237dc42faf52c1
Author: Philip Langdale <philipl overt org>
Date:   Sat Oct 13 14:38:03 2012 -0700

    Fix parentheses spacing.

 monitor/mtp/gmtpvolume.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/monitor/mtp/gmtpvolume.c b/monitor/mtp/gmtpvolume.c
index 8b016f5..9f44f84 100644
--- a/monitor/mtp/gmtpvolume.c
+++ b/monitor/mtp/gmtpvolume.c
@@ -31,7 +31,7 @@
 
 #include "gmtpvolume.h"
 
-G_LOCK_DEFINE_STATIC(mtp_volume);
+G_LOCK_DEFINE_STATIC (mtp_volume);
 
 struct _GMtpVolume {
   GObject parent;
@@ -89,7 +89,7 @@ g_mtp_volume_init (GMtpVolume *mtp_volume)
 {
 }
 
-static int hexdigit(char c)
+static int hexdigit (char c)
 {
   if (c >= 'a')
     return c - 'a' + 10;
@@ -110,10 +110,10 @@ udev_decode_string (const char* encoded)
   if (encoded == NULL)
     return NULL;
 
-  for (len = 0, s = encoded; *s && len < sizeof(decoded)-1; ++len, ++s) {
+  for (len = 0, s = encoded; *s && len < sizeof (decoded) - 1; ++len, ++s) {
     /* need to check for NUL terminator in advance */
     if (s[0] == '\\' && s[1] == 'x' && s[2] >= '0' && s[3] >= '0') {
-      decoded[len] = (hexdigit(s[2]) << 4) | hexdigit(s[3]);
+      decoded[len] = (hexdigit (s[2]) << 4) | hexdigit (s[3]);
       s += 3;
     } else {
       decoded[len] = *s;



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