=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/cvs/Attic/proto.c,v retrieving revision 1.38 retrieving revision 1.39 diff -u -r1.38 -r1.39 --- src/usr.bin/cvs/Attic/proto.c 2005/01/14 20:54:48 1.38 +++ src/usr.bin/cvs/Attic/proto.c 2005/01/14 20:58:43 1.39 @@ -1,4 +1,4 @@ -/* $OpenBSD: proto.c,v 1.38 2005/01/14 20:54:48 jfb Exp $ */ +/* $OpenBSD: proto.c,v 1.39 2005/01/14 20:58:43 jfb Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau * All rights reserved. @@ -49,12 +49,8 @@ #include #include #include -#include #include #include -#ifdef CVS_ZLIB -#include -#endif #include "buf.h" #include "cvs.h" @@ -67,14 +63,6 @@ #define CVS_REQF_RESP 0x01 -extern int verbosity; -extern int cvs_compress; -extern char *cvs_rsh; -extern int cvs_trace; -extern int cvs_nolog; -extern int cvs_readonly; -extern int cvs_cmdop; - static int cvs_initlog (void); struct cvs_req cvs_requests[] = { @@ -509,7 +497,6 @@ * Build a space-separated list of all the responses that this protocol * implementation supports. */ - char* cvs_resp_getvalid(void) { @@ -605,11 +592,9 @@ (void)close(fd); return (-1); } - } (void)close(fd); - return (0); }