aboutsummaryrefslogtreecommitdiff
path: root/src/benchmarks/espresso/ansi.h
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fl.fischer@fau.de>2020-05-06 16:56:32 +0200
committerFlorian Fischer <florian.fl.fischer@fau.de>2020-06-02 11:18:47 +0200
commit8174a918ea3b7cb216bf7ea98cfdc10661b5c37d (patch)
tree0747ec3ccb9f8d7eeccfac35977fc17855ca3bbb /src/benchmarks/espresso/ansi.h
parent8f52e8fc02dd235582f5961941bcd564e9a681cd (diff)
downloadallocbench-8174a918ea3b7cb216bf7ea98cfdc10661b5c37d.tar.gz
allocbench-8174a918ea3b7cb216bf7ea98cfdc10661b5c37d.zip
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
Diffstat (limited to 'src/benchmarks/espresso/ansi.h')
-rw-r--r--src/benchmarks/espresso/ansi.h44
1 files changed, 0 insertions, 44 deletions
diff --git a/src/benchmarks/espresso/ansi.h b/src/benchmarks/espresso/ansi.h
deleted file mode 100644
index 81e482f..0000000
--- a/src/benchmarks/espresso/ansi.h
+++ /dev/null
@@ -1,44 +0,0 @@
-#ifndef ANSI_H
-#define ANSI_H
-
-/*
- * ANSI Compiler Support
- *
- * David Harrison
- * University of California, Berkeley
- * 1988
- *
- * ANSI compatible compilers are supposed to define the preprocessor
- * directive __STDC__. Based on this directive, this file defines
- * certain ANSI specific macros.
- *
- * ARGS:
- * Used in function prototypes. Example:
- * extern int foo
- * ARGS((char *blah, double threshold));
- */
-
-/* Function prototypes */
-#if defined(__STDC__) || defined(__cplusplus)
-#define ARGS(args) args
-#else
-#define ARGS(args) ()
-#endif
-
-#if defined(__cplusplus)
-#define NULLARGS (void)
-#else
-#define NULLARGS ()
-#endif
-
-#ifdef __cplusplus
-#define EXTERN extern "C"
-#else
-#define EXTERN extern
-#endif
-
-#if defined(__cplusplus) || defined(__STDC__)
-#define HAS_STDARG
-#endif
-
-#endif