From 970bbb473c81975d3c7366260c8228fd4fcc8c4d Mon Sep 17 00:00:00 2001 From: Clyne Sullivan Date: Thu, 9 Mar 2023 09:16:12 -0500 Subject: linting; reduce msp430 binary size --- alee-msp430.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'alee-msp430.cpp') diff --git a/alee-msp430.cpp b/alee-msp430.cpp index 7c82c03..86582a1 100644 --- a/alee-msp430.cpp +++ b/alee-msp430.cpp @@ -90,10 +90,7 @@ int main() *ptr++ = c; } } - } - - return 0; } static void readchar(State& state) @@ -157,3 +154,6 @@ void user_sys(State& state) } } +extern "C" int atexit(void (*)()) { return 0; } +void operator delete(void *) {} +void operator delete(void *, std::size_t) {} -- cgit v1.2.3