Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sbin More include fixups and GCC 2.96 nonsense
details: https://anonhg.NetBSD.org/src/rev/008eb8942887
branches: trunk
changeset: 494167:008eb8942887
user: matt <matt%NetBSD.org@localhost>
date: Mon Jul 03 03:37:59 2000 +0000
description:
More include fixups and GCC 2.96 nonsense
diffstat:
sbin/mbrlabel/mbrlabel.c | 5 +++--
sbin/mknod/mknod.c | 5 +++--
sbin/wsconsctl/Makefile | 4 ++--
sbin/wsconsctl/keysym.c | 3 ++-
sbin/wsconsctl/wsconsctl.c | 3 ++-
5 files changed, 12 insertions(+), 8 deletions(-)
diffs (101 lines):
diff -r 60fe1f381a1d -r 008eb8942887 sbin/mbrlabel/mbrlabel.c
--- a/sbin/mbrlabel/mbrlabel.c Mon Jul 03 03:34:25 2000 +0000
+++ b/sbin/mbrlabel/mbrlabel.c Mon Jul 03 03:37:59 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mbrlabel.c,v 1.7 2000/03/15 11:56:02 fvdl Exp $ */
+/* $NetBSD: mbrlabel.c,v 1.8 2000/07/03 03:37:59 matt Exp $ */
/*
* Copyright (C) 1998 Wolfgang Solfrank.
@@ -33,11 +33,12 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: mbrlabel.c,v 1.7 2000/03/15 11:56:02 fvdl Exp $");
+__RCSID("$NetBSD: mbrlabel.c,v 1.8 2000/07/03 03:37:59 matt Exp $");
#endif /* not lint */
#include <stdio.h>
#include <fcntl.h>
+#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <util.h>
diff -r 60fe1f381a1d -r 008eb8942887 sbin/mknod/mknod.c
--- a/sbin/mknod/mknod.c Mon Jul 03 03:34:25 2000 +0000
+++ b/sbin/mknod/mknod.c Mon Jul 03 03:37:59 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mknod.c,v 1.18 1998/11/24 22:56:26 christos Exp $ */
+/* $NetBSD: mknod.c,v 1.19 2000/07/03 03:38:02 matt Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -39,7 +39,7 @@
#include <sys/cdefs.h>
#ifndef lint
__COPYRIGHT("@(#) Copyright (c) 1998 The NetBSD Foundation, Inc. All rights reserved.\n");
-__RCSID("$NetBSD: mknod.c,v 1.18 1998/11/24 22:56:26 christos Exp $");
+__RCSID("$NetBSD: mknod.c,v 1.19 2000/07/03 03:38:02 matt Exp $");
#endif /* not lint */
#include <sys/types.h>
@@ -51,6 +51,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
+#include <string.h>
int main __P((int, char *[]));
static void usage __P((void));
diff -r 60fe1f381a1d -r 008eb8942887 sbin/wsconsctl/Makefile
--- a/sbin/wsconsctl/Makefile Mon Jul 03 03:34:25 2000 +0000
+++ b/sbin/wsconsctl/Makefile Mon Jul 03 03:37:59 2000 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 1999/01/10 18:05:49 augustss Exp $
+# $NetBSD: Makefile,v 1.3 2000/07/03 03:38:02 matt Exp $
PROG= wsconsctl
SRCS= display.c keyboard.c keysym.c map_parse.y map_scan.l \
@@ -6,7 +6,7 @@
MAN= wsconsctl.8
YHEADER= 1
-CPPFLAGS+= -I.
+CPPFLAGS+= -I. -I${.CURDIR}
CLEANFILES+= keysym.h
.depend keysym.c: keysym.h
diff -r 60fe1f381a1d -r 008eb8942887 sbin/wsconsctl/keysym.c
--- a/sbin/wsconsctl/keysym.c Mon Jul 03 03:34:25 2000 +0000
+++ b/sbin/wsconsctl/keysym.c Mon Jul 03 03:37:59 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: keysym.c,v 1.3 1999/02/08 11:08:23 hannken Exp $ */
+/* $NetBSD: keysym.c,v 1.4 2000/07/03 03:38:02 matt Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -39,6 +39,7 @@
#include <dev/wscons/wsksymdef.h>
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#include <unistd.h>
#include "keysym.h"
#include "wsconsctl.h"
diff -r 60fe1f381a1d -r 008eb8942887 sbin/wsconsctl/wsconsctl.c
--- a/sbin/wsconsctl/wsconsctl.c Mon Jul 03 03:34:25 2000 +0000
+++ b/sbin/wsconsctl/wsconsctl.c Mon Jul 03 03:37:59 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: wsconsctl.c,v 1.2 1998/12/29 22:40:20 hannken Exp $ */
+/* $NetBSD: wsconsctl.c,v 1.3 2000/07/03 03:38:03 matt Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -40,6 +40,7 @@
#include <err.h>
#include <string.h>
#include <stdio.h>
+#include <stdlib.h>
#include <unistd.h>
#include "wsconsctl.h"
Home |
Main Index |
Thread Index |
Old Index