aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2014-10-15 01:05:08 +0200
committerClifford Wolf <clifford@clifford.at>2014-10-15 01:05:08 +0200
commitcf85aab62f961c905e4691fde59af774053d3d58 (patch)
tree36727ee155d0244187ccca78a0b59f5b0d059b39
parente5b8390f44be7d300fdf32193fa58b76ba448072 (diff)
downloadyosys-cf85aab62f961c905e4691fde59af774053d3d58.tar.gz
yosys-cf85aab62f961c905e4691fde59af774053d3d58.tar.bz2
yosys-cf85aab62f961c905e4691fde59af774053d3d58.zip
A few indent fixes
-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 4585e7eff..2cae6a636 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 e0c8f7ba0..904ba4759 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 825274b9b..883d42837 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;
}