=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/oldrdist/Attic/defs.h,v retrieving revision 1.2 retrieving revision 1.3 diff -c -r1.2 -r1.3 *** src/usr.bin/oldrdist/Attic/defs.h 1996/06/26 05:37:37 1.2 --- src/usr.bin/oldrdist/Attic/defs.h 1996/07/19 21:57:31 1.3 *************** *** 1,4 **** ! /* * $OpenBSD: defs.h,v 1.2 1996/06/26 05:37:37 deraadt Exp $*/ /* * Copyright (c) 1983, 1993 * The Regents of the University of California. All rights reserved. --- 1,4 ---- ! /* * $OpenBSD: defs.h,v 1.3 1996/07/19 21:57:31 millert Exp $*/ /* * Copyright (c) 1983, 1993 * The Regents of the University of California. All rights reserved. *************** *** 106,111 **** --- 106,116 ---- #define ALLOC(x) (struct x *) malloc(sizeof(struct x)) + /* so we can use rshrcmd.c from rdist 6.1.x */ + #define SYSERR strerror(errno) + #define path_remsh _PATH_REMSH + #define getsocketpair socketpair + struct namelist { /* for making lists of strings */ char *n_name; struct namelist *n_next; *************** *** 179,181 **** --- 184,188 ---- void server __P((void)); void yyerror __P((char *)); int yyparse __P((void)); + int rshrcmd __P((char **, u_short, char *, char *, char *, int *)); + char *xbasename __P((char *));