summaryrefslogtreecommitdiff
path: root/base
diff options
context:
space:
mode:
Diffstat (limited to 'base')
-rw-r--r--base/intmath.cc2
-rw-r--r--base/intmath.hh2
-rw-r--r--base/res_list.hh2
-rw-r--r--base/trace.hh8
4 files changed, 7 insertions, 7 deletions
diff --git a/base/intmath.cc b/base/intmath.cc
index b9a478ba0..2e220aa3b 100644
--- a/base/intmath.cc
+++ b/base/intmath.cc
@@ -47,7 +47,7 @@ PrevPrime(int n)
else if (decr == 1)
decr = 4;
- for(;;) {
+ for (;;) {
if (IsPrime(n))
return n;
n -= decr;
diff --git a/base/intmath.hh b/base/intmath.hh
index ca1cce1e0..7f017a901 100644
--- a/base/intmath.hh
+++ b/base/intmath.hh
@@ -192,7 +192,7 @@ Hex2Int(char c)
if (c >= '0' && c <= '9')
return (c - '0');
- if(c >= 'A' && c <= 'F')
+ if (c >= 'A' && c <= 'F')
return (c - 'A') + 10;
if (c >= 'a' && c <= 'f')
diff --git a/base/res_list.hh b/base/res_list.hh
index ee2ab28a2..c856c1226 100644
--- a/base/res_list.hh
+++ b/base/res_list.hh
@@ -685,7 +685,7 @@ res_list<T>::free_extras(void)
}
p = unused_elements.res_el_ptr();
- for(int i=0; i<to_free; ++i) {
+ for (int i=0; i<to_free; ++i) {
res_element *q = p->next;
delete p;
diff --git a/base/trace.hh b/base/trace.hh
index 528311ca2..805a925a6 100644
--- a/base/trace.hh
+++ b/base/trace.hh
@@ -208,10 +208,10 @@ do { \
#define DTRACE(x) (false)
#define DCOUT(x) if (0) DebugOut()
-#define DPRINTF(x, args...) do {} while(0)
-#define DPRINTFR(args...) do {} while(0)
-#define DPRINTFN(args...) do {} while(0)
-#define DDUMP(x, data, count) do {} while(0)
+#define DPRINTF(x, args...) do {} while (0)
+#define DPRINTFR(args...) do {} while (0)
+#define DPRINTFN(args...) do {} while (0)
+#define DDUMP(x, data, count) do {} while (0)
#endif // TRACING_ON