aboutsummaryrefslogtreecommitdiffstats
path: root/executor/executor_fuchsia.cc
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2017-12-27 10:56:12 +0100
committerDmitry Vyukov <dvyukov@google.com>2017-12-27 11:15:04 +0100
commitfd3e9f2b9720b9ba730938686b98cff3aa248984 (patch)
tree1bb89f1bc27e4dc16552a7dfff255788a1dd88db /executor/executor_fuchsia.cc
parent34c18f5f43b3b7804b5650b5af67100262557297 (diff)
executor: introduce uint64/32/16/8 types
The "define uint64_t unsigned long long" were too good to work. With a different toolchain I am getting: cstdint:69:11: error: expected unqualified-id using ::uint64_t; ^ executor/common.h:34:18: note: expanded from macro 'uint64_t' Do it the proper way: introduce uint64/32/16/8 types and use them. pkg/csource then does s/uint64/uint64_t/ to not clutter code with additional typedefs.
Diffstat (limited to 'executor/executor_fuchsia.cc')
-rw-r--r--executor/executor_fuchsia.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/executor/executor_fuchsia.cc b/executor/executor_fuchsia.cc
index 05ded7857..bd66762a7 100644
--- a/executor/executor_fuchsia.cc
+++ b/executor/executor_fuchsia.cc
@@ -12,7 +12,7 @@
#include "syscalls_fuchsia.h"
-uint32_t output;
+uint32 output;
int main(int argc, char** argv)
{
@@ -48,17 +48,17 @@ void cover_reset(thread_t* th)
{
}
-uint64_t read_cover_size(thread_t* th)
+uint64 read_cover_size(thread_t* th)
{
return 0;
}
-uint32_t* write_output(uint32_t v)
+uint32* write_output(uint32 v)
{
return &output;
}
-void write_completed(uint32_t completed)
+void write_completed(uint32 completed)
{
}