Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/compat/netbsd32 avoid some stupid GCC errors seen only w...
details: https://anonhg.NetBSD.org/src/rev/1459676972ac
branches: trunk
changeset: 814452:1459676972ac
user: mrg <mrg%NetBSD.org@localhost>
date: Mon Mar 21 22:42:56 2016 +0000
description:
avoid some stupid GCC errors seen only with -Os and -O3.
diffstat:
sys/compat/netbsd32/netbsd32_fs.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r 57d406adb53a -r 1459676972ac sys/compat/netbsd32/netbsd32_fs.c
--- a/sys/compat/netbsd32/netbsd32_fs.c Mon Mar 21 19:13:15 2016 +0000
+++ b/sys/compat/netbsd32/netbsd32_fs.c Mon Mar 21 22:42:56 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: netbsd32_fs.c,v 1.73 2015/10/23 19:40:10 maxv Exp $ */
+/* $NetBSD: netbsd32_fs.c,v 1.74 2016/03/21 22:42:56 mrg Exp $ */
/*
* Copyright (c) 1998, 2001 Matthew R. Green
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: netbsd32_fs.c,v 1.73 2015/10/23 19:40:10 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: netbsd32_fs.c,v 1.74 2016/03/21 22:42:56 mrg Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -1236,7 +1236,7 @@
syscallarg(netbsd32_timespecp_t) tptr;
syscallarg(int) flag;
} */
- struct timespec ts[2], *tsp;
+ struct timespec ts[2], *tsp = NULL /* XXXgcc */;
int follow;
int error;
@@ -1334,7 +1334,7 @@
syscallarg(int) fd;
syscallarg(netbsd32_timespecp_t) tptr;
} */
- struct timespec ts[2], *tsp;
+ struct timespec ts[2], *tsp = NULL /* XXXgcc */;
file_t *fp;
int error;
Home |
Main Index |
Thread Index |
Old Index