summaryrefslogtreecommitdiffstats
path: root/sys/i386
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1994-10-26 10:18:24 +0000
committerjkh <jkh@FreeBSD.org>1994-10-26 10:18:24 +0000
commit9a212b4de9b667954d4e8ba9fc412ab8365facab (patch)
tree319cfb07b7d480ba0d6b159667e22be388c1ed68 /sys/i386
parent3d2409e7dd563002ab714c456805de5d90443d26 (diff)
downloadFreeBSD-src-9a212b4de9b667954d4e8ba9fc412ab8365facab.zip
FreeBSD-src-9a212b4de9b667954d4e8ba9fc412ab8365facab.tar.gz
Fix two very minor nits, one of which caused a warning (no return type for
main).
Diffstat (limited to 'sys/i386')
-rw-r--r--sys/i386/i386/genassym.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/i386/i386/genassym.c b/sys/i386/i386/genassym.c
index eb6d9a2..adc9385 100644
--- a/sys/i386/i386/genassym.c
+++ b/sys/i386/i386/genassym.c
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)genassym.c 5.11 (Berkeley) 5/10/91
- * $Id: genassym.c,v 1.16 1994/10/09 07:34:28 davidg Exp $
+ * $Id: genassym.c,v 1.17 1994/10/15 13:32:47 davidg Exp $
*/
#include <sys/param.h>
@@ -63,6 +63,7 @@
#include <nfs/nfsv2.h>
#include <nfs/nfsdiskless.h>
+int
main()
{
struct proc *p = (struct proc *)0;
@@ -201,6 +202,6 @@ main()
printf("#define\tBOOTINFO_KERNELNAME %d\n", &bootinfo->kernelname);
printf("#define\tBOOTINFO_NFS_DISKLESS %d\n", &bootinfo->nfs_diskless);
printf("#define\tNFSDISKLESS_SIZE %d\n", sizeof(struct nfs_diskless));
- exit(0);
+ return 0;
}
OpenPOWER on IntegriCloud