linebyline.c -- line-oriented feature analyzer four source comparisons
******************************************************************************/
+#include <stdlib.h>
#include <stdio.h>
#include <sys/types.h>
#include <regex.h>
{
char *sp, *tp;
char buf[BUFSIZ];
- int changed, insignificant;
+ int changed;
/* change all punctuation to spaces */
buf[0] = ' ';
void analyzer_free(const char *text)
/* free a piece of storage previously handed to shredtree */
{
- free(text);
+ free((char *)text);
}
void analyzer_dump(char *buf)
/* emit hash section for specified file */
{
FILE *fp;
- char buf[BUFSIZ];
- int i, linecount, accepted;
+ int i, accepted;
linenum_t linenumber;
shred *display;
feature_t *feature;