diff --git a/src/server/ram-parse.c b/src/server/ram-parse.c index 47023b0d5aba6ff30477b093d5bf7c3dbf9cb8a5..4f37c74cbf235c2e2aea95bc8894444005fff069 100644 --- a/src/server/ram-parse.c +++ b/src/server/ram-parse.c @@ -1,5 +1,5 @@ /* - * $Id: ram-parse.c,v 0.27 1998/06/14 14:51:15 byers Exp $ + * $Id: ram-parse.c,v 0.28 1998/07/08 16:58:30 ceder Exp $ * Copyright (C) 1991, 1993, 1994, 1995, 1996 Lysator Academic Computer Association. * * This file is part of the LysKOM server. @@ -29,7 +29,8 @@ * ram-parse.c -- parse objects from disk file. */ -static char *rcsid = "$Id: ram-parse.c,v 0.27 1998/06/14 14:51:15 byers Exp $"; +static const char * +rcsid = "$Id: ram-parse.c,v 0.28 1998/07/08 16:58:30 ceder Exp $"; #include "rcs.h" USE(rcsid); @@ -124,7 +125,7 @@ fparse_time(FILE *fp) return fparse_long(fp); } -extern Success +static Success fparse_info_0(FILE *fp, Info *info) { info->conf_pres_conf = fparse_long(fp); @@ -136,7 +137,7 @@ fparse_info_0(FILE *fp, Info *info) return OK; } -extern Success +static Success fparse_info_2(FILE *fp, Info *info) { info->conf_pres_conf = fparse_long(fp); @@ -179,7 +180,7 @@ fparse_info(FILE *fp, Info *info) -extern Success +static Success fparse_conference_2(FILE *fp, Conference *result) { @@ -267,7 +268,7 @@ fparse_conference_2(FILE *fp, } -extern Success +static Success fparse_conference_0(FILE *fp, Conference *result) { @@ -374,7 +375,7 @@ fparse_conference(FILE *fp, } -Success +static Success fparse_person_0(FILE *fp, Person *person) { @@ -442,7 +443,7 @@ fparse_person_0(FILE *fp, return OK; } -Success +static Success fparse_person_2(FILE *fp, Person *person) { @@ -949,7 +950,7 @@ extern Success fparse_conf_list(FILE *fp, Conf_list_old *result) { - int i; + unsigned long i; result->no_of_conf_nos = fparse_long(fp); if ( result->no_of_conf_nos > 0 ) @@ -1165,7 +1166,7 @@ fparse_mark_list(FILE *fp, return OK; } -extern Success +static Success fparse_text_stat_2(FILE *fp, Text_stat *result) { @@ -1305,7 +1306,7 @@ fparse_text_stat_2(FILE *fp, return OK; } -extern Success +static Success fparse_text_stat_0(FILE *fp, Text_stat *result) { @@ -1469,7 +1470,7 @@ extern Success fparse_text_list(FILE *fp, Text_list *result) { - int i; + unsigned long i; result->first_local_no = fparse_long(fp); result->no_of_texts = fparse_long(fp);