mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
whitespace tweaks
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34411 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
3f6bf1fbba
commit
34f183865b
3 changed files with 13 additions and 7 deletions
|
@ -1,3 +1,9 @@
|
|||
2012-01-04 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/GSMDNSNetServices.m:
|
||||
* Source/NSJSONSerialization.m:
|
||||
Cosmetic tweaks (whitespace)
|
||||
|
||||
2012-01-04 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/NSXMLDocument.m:
|
||||
|
|
|
@ -76,7 +76,7 @@
|
|||
do { \
|
||||
if (self == [aClass class]) { [self setVersion: VERSION]; } \
|
||||
else { [self doesNotRecognizeSelector: _cmd]; } \
|
||||
} while(0);
|
||||
} while (0);
|
||||
|
||||
#if defined(_REENTRANT)
|
||||
# define THE_LOCK GSLazyRecursiveLock *lock
|
||||
|
@ -389,7 +389,7 @@ static void DNSSD_API
|
|||
EnumerationCallback,
|
||||
self);
|
||||
}
|
||||
while(0);
|
||||
while (0);
|
||||
}
|
||||
UNLOCK(browser);
|
||||
|
||||
|
@ -747,7 +747,7 @@ static void DNSSD_API
|
|||
BrowserCallback,
|
||||
self);
|
||||
}
|
||||
while(0);
|
||||
while (0);
|
||||
}
|
||||
UNLOCK(browser);
|
||||
|
||||
|
@ -1897,7 +1897,7 @@ static void DNSSD_API
|
|||
NULL, service->port, 0, NULL,
|
||||
RegistrationCallback, self);
|
||||
}
|
||||
while(0);
|
||||
while (0);
|
||||
}
|
||||
UNLOCK(service);
|
||||
|
||||
|
@ -2001,7 +2001,7 @@ static void DNSSD_API
|
|||
ResolverCallback,
|
||||
self);
|
||||
}
|
||||
while(0);
|
||||
while (0);
|
||||
}
|
||||
UNLOCK(service);
|
||||
|
||||
|
@ -2616,7 +2616,7 @@ static void DNSSD_API
|
|||
[monitor->timer fire];
|
||||
}
|
||||
}
|
||||
while(0);
|
||||
while (0);
|
||||
}
|
||||
UNLOCK(monitor);
|
||||
}
|
||||
|
|
|
@ -399,7 +399,7 @@ parseNumber(ParserState *state)
|
|||
else\
|
||||
number = realloc(number, bufferSize);\
|
||||
}\
|
||||
number[parsedSize++] = (char)x; } while(0)
|
||||
number[parsedSize++] = (char)x; } while (0)
|
||||
// JSON numbers must start with a - or a digit
|
||||
if (!(c == '-' || isdigit(c)))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue