Skip to content
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
10 changes: 10 additions & 0 deletions src/include/fp1_global.h
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why add another .h file, can we move these to log_utils.h?

Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@

#ifndef FP1_GLOBAL_H
#define FP1_GLOBAL_H

#include <stdio.h>

extern FILE *fp1;

#endif

2 changes: 1 addition & 1 deletion src/include/log_utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
#include <pthread.h>
#include <stdlib.h>
#include <stdio.h>
#include "fp1_global.h"

FILE *fp1;

#ifdef FILEDEBUG
#define LOG_DEBUG(msg, ...) { \
Expand Down