mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-06-09 14:44:11 +02:00
Release fixed issues with clang16 3 years ago wrt #874435 Also: * GPL-2 -> BSD-2 (no GPL in here) * pass ncurses' --cflags too * install the newly added .desktop+icon * small fixes for c2x so won't need -std=gnu89 Closes: https://bugs.gentoo.org/874435 Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
15 lines
318 B
Diff
15 lines
318 B
Diff
Early fixes for upcoming C2x.
|
|
--- a/galaxis.c
|
|
+++ b/galaxis.c
|
|
@@ -32,4 +32,2 @@
|
|
#define rand() lrand48()
|
|
-extern long lrand48();
|
|
-extern void srand48();
|
|
#define bzero(s, n) (void)memset((char *)(s), '\0', n)
|
|
@@ -648,5 +646,3 @@
|
|
|
|
-int main(argc, argv)
|
|
-int argc;
|
|
-char *argv[];
|
|
+int main(int argc, char *argv[])
|
|
{
|