Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix build with gcc 10 #27

Open
wants to merge 1 commit 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
1 change: 1 addition & 0 deletions i7z.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ int Dual_Socket();

int socket_0_num=0, socket_1_num=1;
bool use_ncurses = true;
struct timespec global_ts;

/////////////////////LOGGING TO FILE////////////////////////////////////////
FILE *fp_log_file_freq;
Expand Down
2 changes: 1 addition & 1 deletion i7z_Dual_Socket.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ float Read_Voltage_CPU(int cpu_num);
extern struct program_options prog_options;
FILE *fp_log_file;

struct timespec global_ts;
extern struct timespec global_ts;
extern FILE *fp_log_file_freq_1, *fp_log_file_freq_2;

extern char* CPU_FREQUENCY_LOGGING_FILE_single;
Expand Down
2 changes: 1 addition & 1 deletion i7z_Single_Socket.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ int Read_Thermal_Status_CPU(int cpu_num);
extern struct program_options prog_options;
extern FILE *fp_log_file_freq;

struct timespec global_ts;
extern struct timespec global_ts;

extern char* CPU_FREQUENCY_LOGGING_FILE_single;
extern char* CPU_FREQUENCY_LOGGING_FILE_dual;
Expand Down