projects
/
platform
/
upstream
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c44dce
)
dont typecast lvalue since gcc hates that
author
Mike Frysinger
<vapier@gentoo.org>
Wed, 5 Oct 2005 00:50:03 +0000
(
00:50
-0000)
committer
Mike Frysinger
<vapier@gentoo.org>
Wed, 5 Oct 2005 00:50:03 +0000
(
00:50
-0000)
networking/inetd.c
patch
|
blob
|
history
diff --git
a/networking/inetd.c
b/networking/inetd.c
index
4c16ff3
..
f9f380f
100644
(file)
--- a/
networking/inetd.c
+++ b/
networking/inetd.c
@@
-945,7
+945,7
@@
static void config (int sig __attribute__((unused)))
if (sep != 0) {
int i;
-#define SWAP(type, a, b)
{type c=(type)a; (type)a=(type)b; (type)b=(type)c;}
+#define SWAP(type, a, b)
do {type c=(type)a; a=(type)b; b=(type)c;} while (0)
omask = sigblock (SIGBLOCK);
/*