[gvfs/mtp-backend: 43/64] MTP: Fix parentheses spacing.
- From: Philip Langdale <philipl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gvfs/mtp-backend: 43/64] MTP: Fix parentheses spacing.
- Date: Sat, 12 Jan 2013 04:37:45 +0000 (UTC)
commit f1dea7bef4e45f9fc6f77ec4d135d4b86433df6c
Author: Philip Langdale <philipl overt org>
Date: Sat Oct 13 14:38:03 2012 -0700
MTP: 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 cbec956..c59bba1 100644
--- a/monitor/mtp/gmtpvolume.c
+++ b/monitor/mtp/gmtpvolume.c
@@ -33,7 +33,7 @@
#include "gmtpvolume.h"
-G_LOCK_DEFINE_STATIC(mtp_volume);
+G_LOCK_DEFINE_STATIC (mtp_volume);
struct _GMtpVolume {
GObject parent;
@@ -91,7 +91,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;
@@ -112,10 +112,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]