[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
patch: compiler warnings I caused
From: |
James A Morrison |
Subject: |
patch: compiler warnings I caused |
Date: |
Tue, 2 Apr 2002 13:04:26 -0500 (EST) |
Some compiler warning fixes. And an updated copyright.
2002-04-02 James A. Morrison <ja2morri@uwaterloo.ca>
daemons:
* console-run.c: Updated the copyright.
nfsd:
* fsys.c: Include <error.h>.
* main.c: Likewise.
sutils:
* halt.c: Include <error.h>.
* reboot.c: Likewise.
* update.c: Likewise.
utils:
* shd.c: Include <error.h>.
Index: daemons/console-run.c
===================================================================
RCS file: /cvsroot/hurd/hurd/daemons/console-run.c,v
retrieving revision 1.5
diff -u -p -r1.5 console-run.c
--- daemons/console-run.c 26 Mar 2002 18:59:31 -0000 1.5
+++ daemons/console-run.c 2 Apr 2002 14:44:42 -0000
@@ -1,5 +1,5 @@
/* Run a program on the console, trying hard to get the console open.
- Copyright (C) 1999, 2001 Free Software Foundation, Inc.
+ Copyright (C) 1999, 2001, 02 Free Software Foundation, Inc.
This file is part of the GNU Hurd.
Index: nfsd/fsys.c
===================================================================
RCS file: /cvsroot/hurd/hurd/nfsd/fsys.c,v
retrieving revision 1.3
diff -u -p -r1.3 fsys.c
--- nfsd/fsys.c 26 Mar 2002 19:09:34 -0000 1.3
+++ nfsd/fsys.c 2 Apr 2002 14:44:49 -0000
@@ -20,6 +20,7 @@
#include <stdio.h>
#include <errno.h>
+#include <error.h>
#include <hurd.h>
#include <fcntl.h>
#include <string.h>
Index: nfsd/main.c
===================================================================
RCS file: /cvsroot/hurd/hurd/nfsd/main.c,v
retrieving revision 1.5
diff -u -p -r1.5 main.c
--- nfsd/main.c 26 Mar 2002 19:09:34 -0000 1.5
+++ nfsd/main.c 2 Apr 2002 14:44:52 -0000
@@ -1,5 +1,5 @@
/* Main NFS server program
- Copyright (C) 1996 Free Software Foundation, Inc.
+ Copyright (C) 1996, 2002 Free Software Foundation, Inc.
Written by Michael I. Bushnell, p/BSG.
This file is part of the GNU Hurd.
@@ -24,6 +24,7 @@
#include <rpc/pmap_prot.h>
#include <maptime.h>
#include <hurd.h>
+#include <error.h>
int main_udp_socket, pmap_udp_socket;
struct sockaddr_in main_address, pmap_address;
Index: sutils/halt.c
===================================================================
RCS file: /cvsroot/hurd/hurd/sutils/halt.c,v
retrieving revision 1.7
diff -u -p -r1.7 halt.c
--- sutils/halt.c 26 Mar 2002 19:10:17 -0000 1.7
+++ sutils/halt.c 2 Apr 2002 14:44:55 -0000
@@ -25,6 +25,8 @@
#include <argp.h>
#include <hurd.h>
#include <version.h>
+#include <errno.h>
+#include <error.h>
const char *argp_program_version = STANDARD_HURD_VERSION (halt);
Index: sutils/reboot.c
===================================================================
RCS file: /cvsroot/hurd/hurd/sutils/reboot.c,v
retrieving revision 1.7
diff -u -p -r1.7 reboot.c
--- sutils/reboot.c 26 Mar 2002 19:10:17 -0000 1.7
+++ sutils/reboot.c 2 Apr 2002 14:44:55 -0000
@@ -25,6 +25,7 @@
#include <argp.h>
#include <hurd.h>
#include <version.h>
+#include <error.h>
const char *argp_program_version = STANDARD_HURD_VERSION (reboot);
Index: sutils/update.c
===================================================================
RCS file: /cvsroot/hurd/hurd/sutils/update.c,v
retrieving revision 1.5
diff -u -p -r1.5 update.c
--- sutils/update.c 26 Mar 2002 19:10:17 -0000 1.5
+++ sutils/update.c 2 Apr 2002 14:44:55 -0000
@@ -21,6 +21,7 @@
#include <unistd.h>
#include <stdio.h>
#include <stdlib.h>
+#include <error.h>
int
main (int argc, char **argv)
Index: utils/shd.c
===================================================================
RCS file: /cvsroot/hurd/hurd/utils/shd.c,v
retrieving revision 1.9
diff -u -p -r1.9 shd.c
--- utils/shd.c 26 Mar 2002 19:12:38 -0000 1.9
+++ utils/shd.c 2 Apr 2002 14:44:57 -0000
@@ -23,6 +23,7 @@
#include <device/device.h>
#include <unistd.h>
#include <errno.h>
+#include <error.h>
#include <sys/wait.h>
#include <fcntl.h>
#include <stdlib.h>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- patch: compiler warnings I caused,
James A Morrison <=