Move const one_g to correct place.

This commit is contained in:
Con Kolivas 2011-03-12 22:50:40 +11:00
parent d067a6ea9e
commit 823a51cc74
2 changed files with 2 additions and 2 deletions

View file

@ -41,6 +41,7 @@
#include "rzip.h"
#include "runzip.h"
#include "util.h"
#include "stream.h"
#include "liblrzip.h" /* flag defines */
#define MAGIC_LEN (39)
@ -240,8 +241,6 @@ int open_tmpoutfile(rzip_control *control)
return fd_out;
}
extern const one_g;
static void fwrite_stdout(void *buf, i64 len)
{
uchar *offset_buf = buf;

View file

@ -37,5 +37,6 @@ int write_stream(rzip_control *control, void *ss, int streamno, uchar *p, i64 le
i64 read_stream(rzip_control *control, void *ss, int streamno, uchar *p, i64 len);
int close_stream_out(rzip_control *control, void *ss);
int close_stream_in(void *ss);
const i64 one_g;
#endif