labels (even default:) _must_ be followed by statements! usr.bin/fgen/fgen.l
This commit is contained in:
parent
c338834cd9
commit
fdfcf1962d
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: rup.c,v 1.22 2000/06/03 19:32:34 fvdl Exp $ */
|
||||
/* $NetBSD: rup.c,v 1.23 2001/01/16 02:43:37 cgd Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1993, John Brezak
|
||||
|
@ -35,7 +35,7 @@
|
|||
|
||||
#include <sys/cdefs.h>
|
||||
#ifndef lint
|
||||
__RCSID("$NetBSD: rup.c,v 1.22 2000/06/03 19:32:34 fvdl Exp $");
|
||||
__RCSID("$NetBSD: rup.c,v 1.23 2001/01/16 02:43:37 cgd Exp $");
|
||||
#endif /* not lint */
|
||||
|
||||
#include <sys/types.h>
|
||||
|
@ -98,6 +98,7 @@ search_host(struct sockaddr *sa)
|
|||
return 1;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
return(0);
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: rusers.c,v 1.19 2000/06/03 19:30:03 fvdl Exp $ */
|
||||
/* $NetBSD: rusers.c,v 1.20 2001/01/16 02:43:37 cgd Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1993 John Brezak
|
||||
|
@ -30,7 +30,7 @@
|
|||
|
||||
#include <sys/cdefs.h>
|
||||
#ifndef lint
|
||||
__RCSID("$NetBSD: rusers.c,v 1.19 2000/06/03 19:30:03 fvdl Exp $");
|
||||
__RCSID("$NetBSD: rusers.c,v 1.20 2001/01/16 02:43:37 cgd Exp $");
|
||||
#endif /* not lint */
|
||||
|
||||
#include <sys/types.h>
|
||||
|
@ -106,6 +106,7 @@ search_host(struct sockaddr *sa)
|
|||
return 1;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
return(0);
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: main.c,v 1.53 2000/12/14 22:14:45 lukem Exp $ */
|
||||
/* $NetBSD: main.c,v 1.54 2001/01/16 02:43:37 cgd Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1992, 1993
|
||||
|
@ -821,6 +821,7 @@ cfcrosscheck(struct config *cf, const char *what, struct nvlist *nv)
|
|||
cf->cf_name, what, nv->nv_str, nv->nv_str);
|
||||
errs++;
|
||||
loop:
|
||||
;
|
||||
}
|
||||
return (errs);
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: security.c,v 1.5 2000/06/08 09:01:05 fvdl Exp $ */
|
||||
/* $NetBSD: security.c,v 1.6 2001/01/16 02:43:37 cgd Exp $ */
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/time.h>
|
||||
|
@ -102,6 +102,7 @@ check_access(SVCXPRT *xprt, rpcproc_t proc, void *args, int rpcbvers)
|
|||
case RPCBPROC_GETADDRLIST:
|
||||
case RPCBPROC_GETSTAT:
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
#ifdef LIBWRAP
|
||||
|
@ -146,6 +147,7 @@ is_loopback(struct netbuf *nbuf)
|
|||
case AF_LOCAL:
|
||||
return 1;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
@ -265,8 +267,10 @@ check_callit(SVCXPRT *xprt, struct r_rmtcall_args *args, int versnum)
|
|||
case YPPROC_NEXT:
|
||||
goto deny;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
return 1;
|
||||
|
|
Loading…
Reference in New Issue