Keywords: bldchn
* lib-src/yow.c: make local things static
Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
#define YOW_FILE "yow.lines"
#endif
-void yow(FILE * fp);
-void setup_yow(FILE * fp);
+static void yow(FILE * fp);
+static void setup_yow(FILE * fp);
-int main(int argc, char *argv[])
+int
+main(int argc, char *argv[])
{
FILE *fp;
char file[BUFSIZ];
#define AVG_LEN 40 /* average length of a quotation */
/* Sets len and header_len */
-void setup_yow(FILE * fp)
+static void
+setup_yow(FILE * fp)
{
int c;
}
/* go to a random place in the file and print the quotation there */
-void yow(FILE * fp)
+static void
+yow(FILE * fp)
{
long offset;
int c, i = 0;