summaryrefslogtreecommitdiff
path: root/huffman.c
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gmail.com>2008-11-14 04:49:34 +0000
committerMatt Turner <mattst88@gmail.com>2008-11-14 04:49:34 +0000
commitf067d71ef7e5bc4e670641b0499f82384f95b764 (patch)
tree02132b93280b59c3bda14c121e218d4e0f65305d /huffman.c
parent5ae2c19365594cfe6872e2a4718247d91828275b (diff)
Create randnum.h, include in relevant places
git-svn-id: svn://mattst88.com/svn/cleanbench/trunk@31 0d43b9a7-5ab2-4d7b-af9d-f64450cef757
Diffstat (limited to 'huffman.c')
-rw-r--r--huffman.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/huffman.c b/huffman.c
index d339b58..e48483e 100644
--- a/huffman.c
+++ b/huffman.c
@@ -7,6 +7,7 @@
#include <time.h>
#include "nmglobal.h"
+#include "randnum.h"
/************************
@@ -172,7 +173,7 @@ char *wordptr; /* Pointer to word from catalog */
*/
#define WORDCATSIZE 50
-const char * wordcatarray[WORDCATSIZE] = {
+char * wordcatarray[WORDCATSIZE] = {
"Hello", "He", "Him", "the", "this", "that", "though", "rough", "cough", "obviously", "But",
"but", "bye", "begin", "beginning", "beginnings", "of", "our", "ourselves", "yourselves",
"to", "together", "togetherness", "from", "either", "I", "A", "return", "However", "that",