Skip to content

Commit 8ca04af

Browse files
Fixed warnings about prototype
1 parent c4e9cab commit 8ca04af

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/python-zstd.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ void init_cContext( int32_t threads, int32_t level)
167167
ZSTD_CCtx_setParameter(m_cctx, ZSTD_c_nbWorkers, threads);
168168
}
169169

170-
void free_cContext()
170+
void free_cContext(void)
171171
{
172172
ZSTD_freeCCtx(m_cctx);
173173
}

src/python-zstd.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ static PyObject *ZstdError;
129129

130130
static ZSTD_CCtx* m_cctx;
131131

132-
void free_cContext();
132+
void free_cContext(void);
133133
void reset_cContext(int32_t threads, int32_t level);
134134
void init_cContext( int32_t threads, int32_t level);
135135

0 commit comments

Comments
 (0)