summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kernel/log.cc2
-rw-r--r--kernel/log.h4
-rw-r--r--libs/sha1/sha1.cpp2
3 files changed, 4 insertions, 4 deletions
diff --git a/kernel/log.cc b/kernel/log.cc
index 4585e7ef..2cae6a63 100644
--- a/kernel/log.cc
+++ b/kernel/log.cc
@@ -22,7 +22,7 @@
#include "backends/ilang/ilang_backend.h"
#ifndef _WIN32
- #include <sys/time.h>
+# include <sys/time.h>
#endif
#include <stdlib.h>
diff --git a/kernel/log.h b/kernel/log.h
index e0c8f7ba..904ba475 100644
--- a/kernel/log.h
+++ b/kernel/log.h
@@ -25,8 +25,8 @@
#include <time.h>
#ifndef _WIN32
- #include <sys/time.h>
- #include <sys/resource.h>
+# include <sys/time.h>
+# include <sys/resource.h>
#endif
// from libs/sha1/sha1.h
diff --git a/libs/sha1/sha1.cpp b/libs/sha1/sha1.cpp
index 825274b9..883d4283 100644
--- a/libs/sha1/sha1.cpp
+++ b/libs/sha1/sha1.cpp
@@ -261,7 +261,7 @@ void SHA1::read(std::istream &is, std::string &s, int max)
is.read(sbuf, max);
s.assign(sbuf, is.gcount());
- delete[] sbuf;
+ delete[] sbuf;
}