mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-12-23 05:25:29 +00:00
eccd888717
Rename identifiers containing double-underscore (`__`) to avoid `__`. The reason to avoid double-underscore is that all identifiers containing double-underscore are reserved in C++. Rename all such identifiers that appear in any public header, including ssl_internal.h which is in principle private but in practice is installed with the public headers. This commit makes check-names.sh pass. ``` perl -i -pe 's/\bMBEDTLS_SSL__ECP_RESTARTABLE\b/MBEDTLS_SSL_ECP_RESTARTABLE_ENABLED/g; s/\bMBEDTLS_KEY_EXCHANGE_(_\w+)_(_\w+)\b/MBEDTLS_KEY_EXCHANGE${1}${2}/g' include/mbedtls/*.h library/*.c programs/*/*.c scripts/data_files/rename-1.3-2.0.txt tests/suites/*.function ``` |
||
---|---|---|
.. | ||
data_files | ||
abi_check.py | ||
apidoc_full.sh | ||
bump_version.sh | ||
config.pl | ||
config.py | ||
ecc-heap.sh | ||
find-mem-leak.cocci | ||
footprint.sh | ||
generate_errors.pl | ||
generate_features.pl | ||
generate_psa_constants.py | ||
generate_query_config.pl | ||
generate_visualc_files.pl | ||
massif_max.pl | ||
memory.sh | ||
output_env.sh | ||
rename.pl | ||
rm-calloc-cast.cocci | ||
tmp_ignore_makefiles.sh |