You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
889 B

  1. From ee711740d2809e7aa3ebd57d58bfc02b1e9b034b Mon Sep 17 00:00:00 2001
  2. From: David Seifert <soap@gentoo.org>
  3. Date: Thu, 23 Jan 2020 17:27:10 +0100
  4. Subject: [PATCH] Fix GCC 10 switch to `-fno-common` default
  5. ---
  6. CRT.h | 6 +++---
  7. 1 file changed, 3 insertions(+), 3 deletions(-)
  8. diff --git a/CRT.h b/CRT.h
  9. index 933fe068..65998ac6 100644
  10. --- a/CRT.h
  11. +++ b/CRT.h
  12. @@ -140,7 +140,7 @@ extern const char **CRT_treeStr;
  13. extern int CRT_delay;
  14. -int* CRT_colors;
  15. +extern int* CRT_colors;
  16. extern int CRT_colorSchemes[LAST_COLORSCHEME][LAST_COLORELEMENT];
  17. @@ -150,13 +150,13 @@ extern int CRT_scrollHAmount;
  18. extern int CRT_scrollWheelVAmount;
  19. -char* CRT_termType;
  20. +extern char* CRT_termType;
  21. // TODO move color scheme to Settings, perhaps?
  22. extern int CRT_colorScheme;
  23. -void *backtraceArray[128];
  24. +extern void *backtraceArray[128];
  25. #if HAVE_SETUID_ENABLED