summaryrefslogtreecommitdiff
path: root/htop/gcc10.patch
blob: 4927b93dc6018cc7392afe4be885a38db068bba0 (plain)
    1 diff -urN htop-2.2.0.orig/CRT.h htop-2.2.0/CRT.h
    2 --- htop-2.2.0.orig/CRT.h	2018-04-10 13:23:24.000000000 +0000
    3 +++ htop-2.2.0/CRT.h	2020-07-14 19:46:33.328273400 +0000
    4 @@ -140,7 +140,7 @@
    5  
    6  extern int CRT_delay;
    7  
    8 -int* CRT_colors;
    9 +extern int* CRT_colors;
   10  
   11  extern int CRT_colorSchemes[LAST_COLORSCHEME][LAST_COLORELEMENT];
   12  
   13 @@ -150,13 +150,13 @@
   14  
   15  extern int CRT_scrollWheelVAmount;
   16  
   17 -char* CRT_termType;
   18 +extern char* CRT_termType;
   19  
   20  // TODO move color scheme to Settings, perhaps?
   21  
   22  extern int CRT_colorScheme;
   23  
   24 -void *backtraceArray[128];
   25 +extern void *backtraceArray[128];
   26  
   27  #if HAVE_SETUID_ENABLED
   28  

Generated by cgit