X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Fserv_func.c;h=fa7424f917516a5f691f63b46226de68357a4deb;hb=128b2597ff8c0d205b95b54d42c0886105172e05;hp=8ee2eb456a0bffddebc7a8e8194dfe4eb1c23cb1;hpb=97c1253a62acb5a06ca5248ea621628a57a6fb62;p=citadel.git diff --git a/webcit/serv_func.c b/webcit/serv_func.c index 8ee2eb456..fa7424f91 100644 --- a/webcit/serv_func.c +++ b/webcit/serv_func.c @@ -1,14 +1,19 @@ +/* $Id$ */ + +#include #include +#include #include #include #include "webcit.h" +#include "child.h" struct serv_info serv_info; /* * get info about the server we've connected to */ -void get_serv_info() { +void get_serv_info(void) { char buf[256]; int a; @@ -58,12 +63,11 @@ void get_serv_info() { * If fp is non-null, it is considered to be the file handle to read the * text from. Otherwise, text is read from the server. */ -void fmout(fp) -FILE *fp; { +void fmout(FILE *fp) +{ int intext = 0; int bq = 0; - int a; char buf[256]; while(1) {