SCCS-vsn: usr.bin/locate/code/locate.code.c 4.7
SCCS-vsn: usr.bin/locate/locate/locate.h 5.2
#endif /* not lint */
#ifndef lint
#endif /* not lint */
#ifndef lint
-static char sccsid[] = "@(#)locate.code.c 4.6 (Berkeley) %G%";
+static char sccsid[] = "@(#)locate.code.c 4.7 (Berkeley) %G%";
* NASA Ames Research Center, 10/82
*/
* NASA Ames Research Center, 10/82
*/
+#include <stdio.h>
+#include "locate.h"
#define BGBUFSIZE (NBG * 2) /* size of bigram buffer */
#define BGBUFSIZE (NBG * 2) /* size of bigram buffer */
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
- * @(#)locate.h 5.1 (Berkeley) %G%
+ * @(#)locate.h 5.2 (Berkeley) %G%
-/* Symbolic constants shared by find.c and code.c */
+/* Symbolic constants shared by locate.c and code.c */
#define NBG 128 /* number of bigrams considered */
#define OFFSET 14 /* abs value of max likely diff */
#define NBG 128 /* number of bigrams considered */
#define OFFSET 14 /* abs value of max likely diff */