From 012acfc20f663d31ef0718f52bf8ce2bef2d82f2 Mon Sep 17 00:00:00 2001 From: Rich Evans Date: Fri, 30 Jan 2015 12:12:11 +0000 Subject: [PATCH] modify library/memory_buffer_alloc.c, benchmark.c and the tests main code to use polarssl_exit --- programs/test/benchmark.c | 1 + tests/suites/main_test.function | 1 + 2 files changed, 2 insertions(+) diff --git a/programs/test/benchmark.c b/programs/test/benchmark.c index 0f2993ce6..675547b3b 100644 --- a/programs/test/benchmark.c +++ b/programs/test/benchmark.c @@ -33,6 +33,7 @@ #define polarssl_exit exit #define polarssl_printf printf #define polarssl_snprintf snprintf +#define polarssl_exit exit #endif #if defined(POLARSSL_TIMING_C) diff --git a/tests/suites/main_test.function b/tests/suites/main_test.function index bb1083acf..d67d875ca 100644 --- a/tests/suites/main_test.function +++ b/tests/suites/main_test.function @@ -3,6 +3,7 @@ #if defined(POLARSSL_PLATFORM_C) #include "polarssl/platform.h" #else +#include #define polarssl_exit exit #define polarssl_free free #define polarssl_malloc malloc