2
0
mirror of https://frontier.innolan.net/github/amigaos-cross-toolchain6.git synced 2024-10-19 10:29:55 +00:00

Fix for building with Clang compiler.

This commit is contained in:
Krystian Bacławski
2014-04-14 23:23:22 +02:00
parent 91520336b8
commit be1a07e721

View File

@ -9,4 +9,16 @@
+ +
/* Build an argument vector from a string. Allocates memory using /* Build an argument vector from a string. Allocates memory using
malloc. Use freeargv to free the vector. */ malloc. Use freeargv to free the vector. */
@@ -111,12 +111,7 @@
/* Exit, calling all the functions registered with xatexit. */
-#ifndef __GNUC__
-extern void xexit PARAMS ((int status));
-#else
-typedef void libiberty_voidfn PARAMS ((int status));
-__volatile__ libiberty_voidfn xexit;
-#endif
+extern void xexit PARAMS ((int status));