xref: /netbsd-src/crypto/external/bsd/openssl.old/dist/util/fix-includes (revision 4724848cf0da353df257f730694b7882798e5daf)
1*4724848cSchristos#!/bin/sh
2*4724848cSchristos#
3*4724848cSchristos# Copyright 2019 The OpenSSL Project Authors. All Rights Reserved.
4*4724848cSchristos#
5*4724848cSchristos# Licensed under the Apache License 2.0 (the "License").  You may not use
6*4724848cSchristos# this file except in compliance with the License.  You can obtain a copy
7*4724848cSchristos# in the file LICENSE in the source distribution or at
8*4724848cSchristos# https://www.openssl.org/source/license.html
9*4724848cSchristos
10*4724848cSchristosfind -name ossl_typ.h -o \( \
11*4724848cSchristos	 -name '*.h' -o \
12*4724848cSchristos	 -name '*.h.in' -o \
13*4724848cSchristos	 -name '*.c' -o \
14*4724848cSchristos	 -name '*.ec' -o \
15*4724848cSchristos	 -name 'README*' -o \
16*4724848cSchristos	 -name '*.pod' -o \
17*4724848cSchristos	 -name '*.conf' \
18*4724848cSchristos	 \) -exec sed -E -i \
19*4724848cSchristos	 -f util/fix-includes.sed {} \;
20