X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=blobdiff_plain;f=tools%2Frpcgen%2Frpc_scan.c;h=a6f442c3eb9b1555fd82f326609b64af2881f613;hp=07565a17045d35b9d5a8414c372e881ae4239ce0;hb=940c7c304d4a43c00c27529cdddc7c87db6eef87;hpb=8b7ad01b14df1e7529b9ba8a1ea17df0d6004ef9 diff --git a/tools/rpcgen/rpc_scan.c b/tools/rpcgen/rpc_scan.c index 07565a1..a6f442c 100644 --- a/tools/rpcgen/rpc_scan.c +++ b/tools/rpcgen/rpc_scan.c @@ -28,7 +28,7 @@ * Mountain View, California 94043 */ -#ifndef lint +#if 0 static char sccsid[] = "@(#)rpc_scan.c 1.11 89/02/22 (C) 1987 SMI"; #endif @@ -382,7 +382,7 @@ static token symbols[] = { {TOK_INT, "int"}, {TOK_UNSIGNED, "unsigned"}, {TOK_SHORT, "short"}, - {TOK_LONG, "long"}, + {TOK_INT32, "int32"}, {TOK_FLOAT, "float"}, {TOK_DOUBLE, "double"}, {TOK_STRING, "string"}, @@ -468,6 +468,7 @@ docppline(char *line, int *lineno, char **fname) *p = 0; if (*file == 0) { *fname = NULL; + free(file); } else { *fname = file; }