0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-03-04 05:59:06 +00:00
termux-packages/packages/rcs/lib-xalloc.h.patch
2023-04-11 05:20:51 +09:00

14 lines
421 B
Diff

https://github.com/termux/termux-packages/issues/15852
--- a/lib/xalloc.h
+++ b/lib/xalloc.h
@@ -48,7 +48,7 @@
or by using gnulib's xalloc-die module. This is the
function to call when one wants the program to die because of a
memory allocation failure. */
-/*extern*/ _Noreturn void xalloc_die (void);
+/*extern*/ __attribute__ ((__noreturn__)) void xalloc_die (void);
#endif /* GNULIB_XALLOC_DIE */