Remove unused typedefs from indent config
authorBenjamin Kaduk <bkaduk@akamai.com>
Tue, 28 Feb 2017 22:00:23 +0000 (16:00 -0600)
committerRichard Levitte <levitte@openssl.org>
Thu, 16 Mar 2017 10:39:34 +0000 (11:39 +0100)
commitb00d5407b530fd77a752c83b04e976c44009883a
tree1eb108db47b080f38c66b89fc5ff974a0349f225
parentf77524524548be9740b143bccfde7565493ae78e
Remove unused typedefs from indent config

Some things were not removed from util/indent.pro when they were removed
from the code.

grep '^-T' util/indent.pro | awk '{print $2} > /tmp/a
grep -rF -f /tmp/a --exclude CHANGES --exclude 'INSTALL' --exclude 'LICENSE' --exclude 'NEWS' --exclude 'NOTES*' --exclude 'README*' --exclude indent.pro --exclude-dir corpora -o -h *|sort|uniq>/tmp/b
comm -23 <(sort /tmp/a) /tmp/b >/tmp/c
grep -v -E '(LHASH_OF|STACK_OF)' /tmp/c > /tmp/d
grep -v -Ff /tmp/d util/indent.pro > util/indent.pro

Manually adjusted to retain time_t and the ossl_*intmax_t types.

Reviewed-by: Emilia Käsper <emilia@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2797)
util/indent.pro