diff options
author | jljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-05-04 00:56:33 +0000 |
---|---|---|
committer | jljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-05-04 00:56:33 +0000 |
commit | f114914b39c03f6af3173ba3aae09395ed65faaa (patch) | |
tree | 9d1cd6a1361985605f044f5edfd1a7bd044295ac /EmbeddedPkg | |
parent | c61fb9c8a40f5999f89512bf33df57a2098928c1 (diff) | |
download | edk2-platforms-f114914b39c03f6af3173ba3aae09395ed65faaa.tar.xz |
CryptoPkg SysCall Lib: Fix warning with GCC in CrtWrapper.c
Exit is declared to be 'noreturn' function, but GCC sees
that the empty function will return. Therefore, GCC flags
a warning.
To work-around this, we use a function pointer, along with
a cast to force the code to think that a 'noreturn' function
is being called.
Signed-off-by: jljusten
Reviewed-by: qlong
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11609 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'EmbeddedPkg')
0 files changed, 0 insertions, 0 deletions