diff options
author | Heikki Korpela <heko@cvs.openbsd.org> | 2001-08-12 12:03:04 +0000 |
---|---|---|
committer | Heikki Korpela <heko@cvs.openbsd.org> | 2001-08-12 12:03:04 +0000 |
commit | 8733d65e598e20f5a4415a710e9c51ab3a3d323d (patch) | |
tree | 39173461770e11f8ad331e9aa18365fc4ab2d19f /sys/netiso/xebec/procs.c | |
parent | bbbc80b14c0c9c05eb40dfe595d4893002a710bf (diff) |
#(endif|else) foo is incorrect, make it #endif /* foo */
deraadt@ ok
Diffstat (limited to 'sys/netiso/xebec/procs.c')
-rw-r--r-- | sys/netiso/xebec/procs.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/sys/netiso/xebec/procs.c b/sys/netiso/xebec/procs.c index a1813952e10..9ff626759e4 100644 --- a/sys/netiso/xebec/procs.c +++ b/sys/netiso/xebec/procs.c @@ -1,4 +1,4 @@ -/* $OpenBSD: procs.c,v 1.3 1997/08/18 03:11:27 millert Exp $ */ +/* $OpenBSD: procs.c,v 1.4 2001/08/12 12:03:03 heko Exp $ */ /* $NetBSD: procs.c,v 1.4 1994/06/29 06:41:12 cgd Exp $ */ /* @@ -243,7 +243,7 @@ int action, newstate; event, state, Index, str); fflush(stdout); ENDDEBUG -#endif LINT +#endif /* LINT */ for( ((q = &Predlist[(event<<Eventshift)+state]), (p = Predlist[(event<<Eventshift)+state])); p ; p = p->p_next ) { @@ -300,7 +300,7 @@ FILE *f; fprintf(stdout, " Xebec used %8d bytes of storage, wasted %8d bytes\n", bytesmalloced, byteswasted); -#endif notdef +#endif /* notdef */ fprintf(stdout, " %8d states\n %8d events\n %8d transitions\n", Nstates, Nevents, Ntrans); @@ -369,9 +369,9 @@ FILE *f; fprintf(f, "default: return 0;\n} /* end switch */\n"); #ifdef notdef fprintf(f, "/*NOTREACHED*/return 0;\n} /* _Xebec_index() */\n"); -#else notdef +#else /* notdef */ fprintf(f, "} /* _Xebec_index() */\n"); -#endif notdef +#endif /* notdef */ fprintf(f, "static int inx[%d][%d] = { {", Nevents+1,Nstates); for(s = 0; s< Nstates; s++) fprintf(f, "0,"); /* event 0 */ fprintf(f, "},\n"); @@ -392,7 +392,7 @@ FILE *f; } fprintf(f, "};"); } -#endif LINT +#endif /* LINT */ char * stash(buf) @@ -406,7 +406,7 @@ char *buf; c = Malloc(len+1); #ifdef LINT c = -#endif LINT +#endif /* LINT */ strcpy(c, buf); IFDEBUG(z) @@ -431,8 +431,8 @@ int event,state; "dump_pentry for event 0x%x, state 0x%x is 0x%x\n", event, state, p); ENDDEBUG -#endif LINT +#endif /* LINT */ q = &p->p_next; } } -#endif notdef +#endif /* notdef */ |