From 8174a918ea3b7cb216bf7ea98cfdc10661b5c37d Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Wed, 6 May 2020 16:56:32 +0200 Subject: make the whole project more python idiomatic * rename src directory to allocbench * make global variable names UPPERCASE * format a lot of code using yapf * use lowercase ld_preload and ld_library_path as Allocator members * name expected Errors 'err' and don't raise a new Exception * disable some pylint messages --- src/benchmarks/espresso/stdlib.h | 38 -------------------------------------- 1 file changed, 38 deletions(-) delete mode 100644 src/benchmarks/espresso/stdlib.h (limited to 'src/benchmarks/espresso/stdlib.h') diff --git a/src/benchmarks/espresso/stdlib.h b/src/benchmarks/espresso/stdlib.h deleted file mode 100644 index c5cf479..0000000 --- a/src/benchmarks/espresso/stdlib.h +++ /dev/null @@ -1,38 +0,0 @@ -/* ANSI Compatible stdlib.h stub */ - -#ifndef __cplusplus - -#include - -#ifndef ultrix4 -extern double atof(const char *); -extern int atoi(const char *); -extern long atol(const char *); -extern void abort(void); -extern void *calloc(size_t, size_t); -extern void exit(int); -extern void free(void *); -extern void *malloc(size_t); -extern void *realloc(void *, size_t); -extern char *getenv(const char *); -#else -extern double atof(const char *); -extern int atoi(char *); -extern long atol(char *); -extern void abort(void); -extern void *calloc(size_t, size_t); -extern void exit(int); -extern void free(void *); -extern void *malloc(size_t); -extern void *realloc(void *, size_t); -extern char *getenv(char *); -#endif - -/* should be in stdio.h */ -extern void perror(const char *); - -#ifdef LINT -#undef putc -#endif - -#endif -- cgit v1.2.3