From 3433438a8eddf4cda9aaaa5e25283f1054c24636 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Sat, 26 Feb 2011 20:11:43 +1100 Subject: [PATCH] Structs in stream.c can be static. --- stream.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stream.c b/stream.c index 8384122..ff3b2a5 100644 --- a/stream.c +++ b/stream.c @@ -23,7 +23,7 @@ #define STREAM_BUFSIZE (1024 * 1024 * 10) -struct compress_thread{ +static struct compress_thread{ uchar *s_buf; /* Uncompressed buffer -> Compressed buffer */ uchar c_type; /* Compression type */ i64 s_len; /* Data length uncompressed */ @@ -33,7 +33,7 @@ struct compress_thread{ int stream; } *cthread; -struct uncomp_thread{ +static struct uncomp_thread{ uchar *s_buf; i64 u_len, c_len; i64 last_head;