Skip to content

Commit

Permalink
Make file-local auditlog variables static
Browse files Browse the repository at this point in the history
  • Loading branch information
wingo committed Mar 20, 2018
1 parent 634ab24 commit 2914e5a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions lib/luajit/src/lj_auditlog.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@
/* Maximum data to buffer in memory before file is opened. */
#define MAX_MEM_BUFFER 1024*1024
/* State for initial in-memory stream. */
char *membuffer;
size_t membuffersize;
static char *membuffer;
static size_t membuffersize;

FILE *fp; /* File where the audit log is written. */
int error; /* Have we been unable to initialize the log? */
int open; /* are we logging to a real file? */
static FILE *fp; /* File where the audit log is written. */
static int error; /* Have we been unable to initialize the log? */
static int open; /* are we logging to a real file? */

/* -- msgpack writer - see http://msgpack.org/index.html ------------------ */

Expand Down

0 comments on commit 2914e5a

Please sign in to comment.