Skip to content
This repository has been archived by the owner on Sep 8, 2020. It is now read-only.

Fix gcc10 #981

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ os:
- linux
- osx

script: ./autogen.sh && ./configure && make
script: ./autogen.sh && ./configure CFLAGS="-O2 -fno-common" && make
6 changes: 3 additions & 3 deletions CRT.h
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ extern const char **CRT_treeStr;

extern int CRT_delay;

int* CRT_colors;
extern int* CRT_colors;

extern int CRT_colorSchemes[LAST_COLORSCHEME][LAST_COLORELEMENT];

Expand All @@ -150,13 +150,13 @@ extern int CRT_scrollHAmount;

extern int CRT_scrollWheelVAmount;

char* CRT_termType;
extern char* CRT_termType;

// TODO move color scheme to Settings, perhaps?

extern int CRT_colorScheme;

void *backtraceArray[128];
extern void *backtraceArray[128];

#if HAVE_SETUID_ENABLED

Expand Down
2 changes: 1 addition & 1 deletion linux/LinuxProcess.h
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ typedef struct LinuxProcess_ {
#endif


long long btime; /* semi-global */
extern long long btime; /* semi-global */

extern ProcessFieldData Process_fields[];

Expand Down