From 63eeae2e150fc4dca0d178c2644db3d5c4a16328 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Thu, 16 Sep 2021 18:26:49 +0200 Subject: Improve makefile, style, and gitignore MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/alloca.cc | 20 -------------------- src/malloc.cc | 19 ------------------- src/new.cc | 19 ------------------- 3 files changed, 58 deletions(-) delete mode 100644 src/alloca.cc delete mode 100644 src/malloc.cc delete mode 100644 src/new.cc (limited to 'src') diff --git a/src/alloca.cc b/src/alloca.cc deleted file mode 100644 index a46c69b..0000000 --- a/src/alloca.cc +++ /dev/null @@ -1,20 +0,0 @@ -/** - * Copying and distribution of this file, with or without modification, - * are permitted in any medium without royalty provided the copyright - * notice and this notice are preserved. This file is offered as-is, - * without any warranty. - */ -#include -#include - -int main(void) -{ - char* a; - size_t i; - - for (i = 0; i < 40000000UL; i++) - a = (char*)alloca(16); - - return 0; -} - diff --git a/src/malloc.cc b/src/malloc.cc deleted file mode 100644 index 22b4cdb..0000000 --- a/src/malloc.cc +++ /dev/null @@ -1,19 +0,0 @@ -/** - * Copying and distribution of this file, with or without modification, - * are permitted in any medium without royalty provided the copyright - * notice and this notice are preserved. This file is offered as-is, - * without any warranty. - */ -#include - -int main(void) -{ - char* a; - size_t i; - - for (i = 0; i < 40000000UL; i++) - a = (char*)malloc(16); - - return 0; -} - diff --git a/src/new.cc b/src/new.cc deleted file mode 100644 index 5e96747..0000000 --- a/src/new.cc +++ /dev/null @@ -1,19 +0,0 @@ -/** - * Copying and distribution of this file, with or without modification, - * are permitted in any medium without royalty provided the copyright - * notice and this notice are preserved. This file is offered as-is, - * without any warranty. - */ -#include - -int main(void) -{ - char* a; - size_t i; - - for (i = 0; i < 40000000UL; i++) - a = new char[16]; - - return 0; -} - -- cgit v1.2.3-70-g09d2