summaryrefslogtreecommitdiffabout
authorMichael Krelin <hacker@klever.net>2009-12-12 00:21:52 (UTC)
committer Michael Krelin <hacker@klever.net>2009-12-12 00:21:52 (UTC)
commit29ab361797d5677ce3296555efa7fe34dedaf0d4 (patch) (unidiff)
treef0b328c790ddb405e56aa4c1653a73cbadd8135f
parentf888c15a5df36dcd767823cf5c223540270524c3 (diff)
downloadnapkin-29ab361797d5677ce3296555efa7fe34dedaf0d4.zip
napkin-29ab361797d5677ce3296555efa7fe34dedaf0d4.tar.gz
napkin-29ab361797d5677ce3296555efa7fe34dedaf0d4.tar.bz2
headers for gcc 4.4HEADmaster
Thanks to Kevin Turner for spotting and patching it.
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--lib/hypnodata.cc5
-rw-r--r--lib/st-decode.cc5
2 files changed, 6 insertions, 4 deletions
diff --git a/lib/hypnodata.cc b/lib/hypnodata.cc
index a64b7d7..376c7ff 100644
--- a/lib/hypnodata.cc
+++ b/lib/hypnodata.cc
@@ -1,14 +1,15 @@
1#include <stdlib.h> 1#include <cstdio>
2#include <string.h> 2#include <cstdlib>
3#include <cstring>
3#include <napkin/exception.h> 4#include <napkin/exception.h>
4#include <napkin/util.h> 5#include <napkin/util.h>
5#include <napkin/types.h> 6#include <napkin/types.h>
6 7
7namespace napkin { 8namespace napkin {
8 9
9 void hypnodata_t::clear() { 10 void hypnodata_t::clear() {
10 to_bed = alarm = 0; 11 to_bed = alarm = 0;
11 data_a = window = 0; 12 data_a = window = 0;
12 almost_awakes.clear(); 13 almost_awakes.clear();
13 } 14 }
14 15
diff --git a/lib/st-decode.cc b/lib/st-decode.cc
index b354250..81cbb8f 100644
--- a/lib/st-decode.cc
+++ b/lib/st-decode.cc
@@ -1,14 +1,15 @@
1#include <stdlib.h> 1#include <stdint.h>
2#include <string.h> 2#include <cstdlib>
3#include <cstring>
3#include <stdexcept> 4#include <stdexcept>
4#include <numeric> 5#include <numeric>
5#include <napkin/exception.h> 6#include <napkin/exception.h>
6#include <napkin/st/decode.h> 7#include <napkin/st/decode.h>
7 8
8namespace napkin { 9namespace napkin {
9 namespace sleeptracker { 10 namespace sleeptracker {
10 using std::invalid_argument; 11 using std::invalid_argument;
11 using std::runtime_error; 12 using std::runtime_error;
12 13
13 struct st_time_t { 14 struct st_time_t {
14 uint8_t hour; 15 uint8_t hour;