From 6ca6ff8dd1fefea6a57d33b4840fe776006d8b1e Mon Sep 17 00:00:00 2001 From: deraadt Date: Fri, 18 Apr 2014 15:53:24 +0000 Subject: [PATCH] remove include files not needed --- lib/libcrypto/o_str.c | 1 - lib/libcrypto/uid.c | 18 ++---------------- lib/libssl/src/crypto/o_str.c | 1 - lib/libssl/src/crypto/uid.c | 18 ++---------------- 4 files changed, 4 insertions(+), 34 deletions(-) diff --git a/lib/libcrypto/o_str.c b/lib/libcrypto/o_str.c index 6d56673b445..f7be15bd5a0 100644 --- a/lib/libcrypto/o_str.c +++ b/lib/libcrypto/o_str.c @@ -2,7 +2,6 @@ * Written by Theo de Raadt. Public domain. */ -#include #include int OPENSSL_strcasecmp(const char *str1, const char *str2); diff --git a/lib/libcrypto/uid.c b/lib/libcrypto/uid.c index 80a033270dd..f6521bf8165 100644 --- a/lib/libcrypto/uid.c +++ b/lib/libcrypto/uid.c @@ -1,21 +1,7 @@ -/* - * Copyright (c) 2014 Theo de Raadt - * - * Permission to use, copy, modify, and distribute this software for any - * purpose with or without fee is hereby granted, provided that the above - * copyright notice and this permission notice appear in all copies. - * - * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +/* + * Written by Theo de Raadt. Public domain. */ -#include -#include #include int diff --git a/lib/libssl/src/crypto/o_str.c b/lib/libssl/src/crypto/o_str.c index 6d56673b445..f7be15bd5a0 100644 --- a/lib/libssl/src/crypto/o_str.c +++ b/lib/libssl/src/crypto/o_str.c @@ -2,7 +2,6 @@ * Written by Theo de Raadt. Public domain. */ -#include #include int OPENSSL_strcasecmp(const char *str1, const char *str2); diff --git a/lib/libssl/src/crypto/uid.c b/lib/libssl/src/crypto/uid.c index 80a033270dd..f6521bf8165 100644 --- a/lib/libssl/src/crypto/uid.c +++ b/lib/libssl/src/crypto/uid.c @@ -1,21 +1,7 @@ -/* - * Copyright (c) 2014 Theo de Raadt - * - * Permission to use, copy, modify, and distribute this software for any - * purpose with or without fee is hereby granted, provided that the above - * copyright notice and this permission notice appear in all copies. - * - * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +/* + * Written by Theo de Raadt. Public domain. */ -#include -#include #include int -- 2.20.1