diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2018-07-26 17:47:27 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2018-07-27 10:22:23 +0200 |
| commit | 9d92841b4e4d0ac0f97f983cd90087323f27c26c (patch) | |
| tree | 562c5d32f96e010c34b3f122616213110d1b979b /executor/executor.cc | |
| parent | c3da5dc5e0d0c6614f48c2d1178d58ff1e47809c (diff) | |
pkg/csource: tidy generated code
1. Remove unnecessary includes.
2. Remove thunk function in threaded mode.
3. Inline syscalls into main for the simplest case.
4. Define main in common.h rather than form with printfs.
5. Fix generation for repeat mode
(we had 2 infinite loops: in main and in loop).
6. Remove unused functions (setup/reset_loop, setup/reset_test,
sandbox_namespace, etc).
Diffstat (limited to 'executor/executor.cc')
| -rw-r--r-- | executor/executor.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/executor/executor.cc b/executor/executor.cc index 1efba1060..c5b9efe42 100644 --- a/executor/executor.cc +++ b/executor/executor.cc @@ -146,7 +146,6 @@ const uint64 binary_format_stroct = 4; const uint64 no_copyout = -1; -unsigned long long procid; int running; uint32 completed; bool collide; |
