=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/rdist/message.c,v retrieving revision 1.9 retrieving revision 1.10 diff -c -r1.9 -r1.10 *** src/usr.bin/rdist/message.c 2000/11/10 15:33:12 1.9 --- src/usr.bin/rdist/message.c 2001/11/19 19:02:15 1.10 *************** *** 1,4 **** ! /* $OpenBSD: message.c,v 1.9 2000/11/10 15:33:12 provos Exp $ */ /* * Copyright (c) 1983 Regents of the University of California. --- 1,4 ---- ! /* $OpenBSD: message.c,v 1.10 2001/11/19 19:02:15 mpech Exp $ */ /* * Copyright (c) 1983 Regents of the University of California. *************** *** 39,45 **** "$From: message.c,v 6.24 1996/07/19 17:00:35 michaelc Exp $"; #else static char RCSid[] = ! "$OpenBSD: message.c,v 1.9 2000/11/10 15:33:12 provos Exp $"; #endif static char sccsid[] = "@(#)common.c"; --- 39,45 ---- "$From: message.c,v 6.24 1996/07/19 17:00:35 michaelc Exp $"; #else static char RCSid[] = ! "$OpenBSD: message.c,v 1.10 2001/11/19 19:02:15 mpech Exp $"; #endif static char sccsid[] = "@(#)common.c"; *************** *** 96,102 **** */ extern void msgprusage() { ! register int i, x; (void) fprintf(stderr, "\nWhere is of form\n"); (void) fprintf(stderr, --- 96,102 ---- */ extern void msgprusage() { ! int i, x; (void) fprintf(stderr, "\nWhere is of form\n"); (void) fprintf(stderr, *************** *** 119,125 **** */ extern void msgprconfig() { ! register int i, x; static char buf[MSGBUFSIZ]; debugmsg(DM_MISC, "Current message logging config:"); --- 119,125 ---- */ extern void msgprconfig() { ! int i, x; static char buf[MSGBUFSIZ]; debugmsg(DM_MISC, "Current message logging config:"); *************** *** 144,150 **** static MSGFACILITY *getmsgfac(name) char *name; { ! register int i; for (i = 0; msgfacility[i].mf_name; ++i) if (strcasecmp(name, msgfacility[i].mf_name) == 0) --- 144,150 ---- static MSGFACILITY *getmsgfac(name) char *name; { ! int i; for (i = 0; msgfacility[i].mf_name; ++i) if (strcasecmp(name, msgfacility[i].mf_name) == 0) *************** *** 159,165 **** static MSGTYPE *getmsgtype(name) char *name; { ! register int i; for (i = 0; msgtypes[i].mt_name; ++i) if (strcasecmp(name, msgtypes[i].mt_name) == 0) --- 159,165 ---- static MSGTYPE *getmsgtype(name) char *name; { ! int i; for (i = 0; msgtypes[i].mt_name; ++i) if (strcasecmp(name, msgtypes[i].mt_name) == 0) *************** *** 177,185 **** char *str; { static char ebuf[BUFSIZ]; ! register char *cp; ! register char *strptr, *word; ! register MSGTYPE *mtp; /* * MF_SYSLOG is the only supported message facility for the server --- 177,185 ---- char *str; { static char ebuf[BUFSIZ]; ! char *cp; ! char *strptr, *word; ! MSGTYPE *mtp; /* * MF_SYSLOG is the only supported message facility for the server *************** *** 271,278 **** int doset; { static char ebuf[BUFSIZ], msgbuf[MSGBUFSIZ]; ! register char *cp, *optstr; ! register char *word; MSGFACILITY *msgfac; if (msgstr == NULL) --- 271,278 ---- int doset; { static char ebuf[BUFSIZ], msgbuf[MSGBUFSIZ]; ! char *cp, *optstr; ! char *word; MSGFACILITY *msgfac; if (msgstr == NULL) *************** *** 461,467 **** return; if (!msgfac->mf_fptr) { ! register char *cp; int fd; char *getenv(); --- 461,467 ---- return; if (!msgfac->mf_fptr) { ! char *cp; int fd; char *getenv(); *************** *** 518,525 **** int flags; char *msgbuf; { ! register int i, x; ! register char *cp; static char mbuf[2048]; if (msgbuf && *msgbuf) { --- 518,525 ---- int flags; char *msgbuf; { ! int i, x; ! char *cp; static char mbuf[2048]; if (msgbuf && *msgbuf) { *************** *** 866,872 **** */ extern char *getnotifyfile() { ! register int i; for (i = 0; msgfacility[i].mf_name; i++) if (msgfacility[i].mf_msgfac == MF_NOTIFY && --- 866,872 ---- */ extern char *getnotifyfile() { ! int i; for (i = 0; msgfacility[i].mf_name; i++) if (msgfacility[i].mf_msgfac == MF_NOTIFY &&