Skip to content

Commit

Permalink
spx_stdio: make internal state global
Browse files Browse the repository at this point in the history
  • Loading branch information
NoiseByNorthwest committed Sep 19, 2018
1 parent 1860863 commit 7ec8f7d
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/spx_stdio.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,8 @@
#include <stdio.h>
#include <unistd.h>

#include "spx_thread.h"

static SPX_THREAD_TLS FILE * null_output;
static SPX_THREAD_TLS int null_output_initialized;
static FILE * null_output;
static int null_output_initialized;

int spx_stdio_disable(int fd)
{
Expand Down

0 comments on commit 7ec8f7d

Please sign in to comment.