Commit a0fee5a5 authored by Niels Möller's avatar Niels Möller
Browse files

Delete an unused function.

parent a0aa1c61
2016-09-03 Niels Möller <nisse@lysator.liu.se> 2016-09-03 Niels Möller <nisse@lysator.liu.se>
* examples/ecc-benchmark.c (die): Deleted unused function.
* testsuite/testutils.h (US): New macro, for unsigned string * testsuite/testutils.h (US): New macro, for unsigned string
literals. literals.
(LDATA): Use the US macro, to eliminate pointer signedness (LDATA): Use the US macro, to eliminate pointer signedness
......
...@@ -52,17 +52,6 @@ ...@@ -52,17 +52,6 @@
#define BENCH_INTERVAL 0.1 #define BENCH_INTERVAL 0.1
static void NORETURN PRINTF_STYLE(1,2)
die(const char *format, ...)
{
va_list args;
va_start(args, format);
vfprintf(stderr, format, args);
va_end(args);
exit(EXIT_FAILURE);
}
static void * static void *
xalloc (size_t size) xalloc (size_t size)
{ {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment