drop struct keyword for non-packed objects
As a style decision, struct is often used with packed structures to
indicate they are used like C-structs. Cleanup this codebase to not use
the extra struct keyword throughout.
Signed-off-by: Patrick Venture <venture@google.com>
Change-Id: I2f83bb1989e4d1f2f843ba3e45fb82e04f0fa61c
diff --git a/sysfs/sysfsread.cpp b/sysfs/sysfsread.cpp
index eee1c8a..deb533a 100644
--- a/sysfs/sysfsread.cpp
+++ b/sysfs/sysfsread.cpp
@@ -32,8 +32,8 @@
ifs >> value;
ifs.close();
- struct ReadReturn r = {static_cast<double>(value),
- std::chrono::high_resolution_clock::now()};
+ ReadReturn r = {static_cast<double>(value),
+ std::chrono::high_resolution_clock::now()};
return r;
}