diff --git a/usr.sbin/mopd/common/common.h b/usr.sbin/mopd/common/common.h index aa323881b7f8..4ad45ebcdf90 100644 --- a/usr.sbin/mopd/common/common.h +++ b/usr.sbin/mopd/common/common.h @@ -1,4 +1,4 @@ -/* $NetBSD: common.h,v 1.3 1997/10/16 23:24:26 lukem Exp $ */ +/* $NetBSD: common.h,v 1.4 1998/02/07 00:03:19 cgd Exp $ */ /* * Copyright (c) 1993-95 Mats O Jansson. All rights reserved. @@ -28,7 +28,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $NetBSD: common.h,v 1.3 1997/10/16 23:24:26 lukem Exp $ + * $NetBSD: common.h,v 1.4 1998/02/07 00:03:19 cgd Exp $ * */ @@ -60,7 +60,7 @@ struct if_info { char if_name[IFNAME_SIZE]; /* Interface Name */ int (*iopen) __P((char *, int, u_short, int)); /* Interface Open Routine */ - int (*write) __P((int, u_char *, int, int));; + int (*write) __P((int, u_char *, int, int)); /* Interface Write Routine */ void (*read) __P((void)); /* Interface Read Routine */ struct if_info *next; /* Next Interface */ diff --git a/usr.sbin/mopd/common/file.c b/usr.sbin/mopd/common/file.c index 5483f963f7c4..94072a849786 100644 --- a/usr.sbin/mopd/common/file.c +++ b/usr.sbin/mopd/common/file.c @@ -1,4 +1,4 @@ -/* $NetBSD: file.c,v 1.4 1997/10/16 23:24:35 lukem Exp $ */ +/* $NetBSD: file.c,v 1.5 1998/02/07 00:03:22 cgd Exp $ */ /* * Copyright (c) 1995-96 Mats O Jansson. All rights reserved. @@ -31,7 +31,7 @@ #include #ifndef lint -__RCSID("$NetBSD: file.c,v 1.4 1997/10/16 23:24:35 lukem Exp $"); +__RCSID("$NetBSD: file.c,v 1.5 1998/02/07 00:03:22 cgd Exp $"); #endif #include "os.h" @@ -334,6 +334,7 @@ getMID(old_mid,new_mid) break; #endif default: + break; } return(mid); @@ -508,6 +509,7 @@ GetAOutFileInfo(fd, load, xfr, a_text, a_text_fill, ex.a_drsize= mopFileGetBX((u_char *)&ex_swap, 28, 4); break; default: + break; } printf("a.out image ("); @@ -559,6 +561,7 @@ GetAOutFileInfo(fd, load, xfr, a_text, a_text_fill, break; #endif default: + break; } printf(") Magic: "); switch (N_GETMAGIC (ex)) {