Skip to content

Rename functions that collide with the C standard in AWS-C-Common

Philipp Wendler requested to merge fix-1044-reserved-identifiers into master

Fixes #1043 (closed) All these programs define some functions (at least abort) that are also defined by the C standard, but these identifiers are reserverd and so this is undefined behavior.

This commit renames functions called "abort", "qsort", "memcpy", "memmove", and "memset" if they have a body. These were the only functions I found where this is necessary.

Checking which tasks are affected and the renaming was done automatically, the code for this is in makeall.

Merge request reports