From 0e97f1e1a7f43be3a5e5c6256fe6bcb90caf9e01 Mon Sep 17 00:00:00 2001 From: Rich Salz Date: Mon, 21 Aug 2017 17:22:19 -0400 Subject: (Re)move some things from e_os.h Remove GETPID_IS_MEANINGLESS and osslargused. Move socket-related things to new file internal/sockets.h; this is now only needed by four(!!!) files. Compiles should be a bit faster. Remove USE_SOCKETS ifdef's Reviewed-by: Richard Levitte (Merged from https://github.com/openssl/openssl/pull/4209) --- crypto/mem.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crypto/mem.c') diff --git a/crypto/mem.c b/crypto/mem.c index 81a73ccdde..947c50ed21 100644 --- a/crypto/mem.c +++ b/crypto/mem.c @@ -187,7 +187,7 @@ void *CRYPTO_malloc(size_t num, const char *file, int line) ret = malloc(num); } #else - osslargused(file); osslargused(line); + (void)(file); (void)(line); ret = malloc(num); #endif @@ -228,7 +228,7 @@ void *CRYPTO_realloc(void *str, size_t num, const char *file, int line) return ret; } #else - osslargused(file); osslargused(line); + (void)(file); (void)(line); #endif return realloc(str, num); -- cgit v1.2.3