summaryrefslogtreecommitdiffstats
path: root/Utilities/cmcompress
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2006-08-17 13:45:17 (GMT)
committerBrad King <brad.king@kitware.com>2006-08-17 13:45:17 (GMT)
commit006b61be359c5cd6d7cf401bbb87b06dbcbe536d (patch)
tree3eac6d84d8cdf951cc525e3e2ae038636b41f665 /Utilities/cmcompress
parenta40a17dcddf2b4b480ffd98fb3d2da580875a543 (diff)
downloadCMake-006b61be359c5cd6d7cf401bbb87b06dbcbe536d.zip
CMake-006b61be359c5cd6d7cf401bbb87b06dbcbe536d.tar.gz
CMake-006b61be359c5cd6d7cf401bbb87b06dbcbe536d.tar.bz2
COMP: Fixed linkage specifier consistency warning.
Diffstat (limited to 'Utilities/cmcompress')
-rw-r--r--Utilities/cmcompress/cmcompress.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/Utilities/cmcompress/cmcompress.c b/Utilities/cmcompress/cmcompress.c
index e6d4c28..b0753b5 100644
--- a/Utilities/cmcompress/cmcompress.c
+++ b/Utilities/cmcompress/cmcompress.c
@@ -256,7 +256,7 @@ int cmcompress_compress_finalize(struct cmcompress_stream* cdata)
return 1;
}
-int cl_block (struct cmcompress_stream* cdata) /* table clear for block compress */
+static int cl_block (struct cmcompress_stream* cdata) /* table clear for block compress */
{
register long int rat;
@@ -316,7 +316,7 @@ int cl_block (struct cmcompress_stream* cdata) /* table clear for block compr
return 1;
}
-void cl_hash(struct cmcompress_stream* cdata, count_int hsize) /* reset code table */
+static void cl_hash(struct cmcompress_stream* cdata, count_int hsize) /* reset code table */
{
register count_int *htab_p = cdata->htab+hsize;
register long i;
@@ -351,7 +351,7 @@ void cl_hash(struct cmcompress_stream* cdata, count_int hsize) /* reset code
}
#if defined(DEBUG)
-void prratio(FILE *stream, long int num, long int den)
+static void prratio(FILE *stream, long int num, long int den)
{
register int q; /* Doesn't need to be long */
@@ -394,7 +394,7 @@ char_type lmask[9] = {0xff, 0xfe, 0xfc, 0xf8, 0xf0, 0xe0, 0xc0, 0x80, 0x00};
char_type rmask[9] = {0x00, 0x01, 0x03, 0x07, 0x0f, 0x1f, 0x3f, 0x7f, 0xff};
#endif /* vax */
-int output(struct cmcompress_stream* cdata, code_int code)
+static int output(struct cmcompress_stream* cdata, code_int code)
{
#ifdef DEBUG
static int col = 0;