Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/compat/osf1 Remove to local declarations of "p" which ar...
details: https://anonhg.NetBSD.org/src/rev/55c5a03a6a28
branches: trunk
changeset: 543999:55c5a03a6a28
user: he <he%NetBSD.org@localhost>
date: Sat Mar 08 01:20:21 2003 +0000
description:
Remove to local declarations of "p" which are no more in use, to make
this compile again.
diffstat:
sys/compat/osf1/osf1_prot.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diffs (34 lines):
diff -r e31f7469b652 -r 55c5a03a6a28 sys/compat/osf1/osf1_prot.c
--- a/sys/compat/osf1/osf1_prot.c Sat Mar 08 01:18:42 2003 +0000
+++ b/sys/compat/osf1/osf1_prot.c Sat Mar 08 01:20:21 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: osf1_prot.c,v 1.6 2003/03/05 18:47:39 dsl Exp $ */
+/* $NetBSD: osf1_prot.c,v 1.7 2003/03/08 01:20:21 he Exp $ */
/*
* Copyright (c) 1999 Christopher G. Demetriou. All rights reserved.
@@ -58,7 +58,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: osf1_prot.c,v 1.6 2003/03/05 18:47:39 dsl Exp $");
+__KERNEL_RCSID(0, "$NetBSD: osf1_prot.c,v 1.7 2003/03/08 01:20:21 he Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -85,7 +85,6 @@
register_t *retval;
{
struct osf1_sys_setgid_args *uap = v;
- struct proc *p = l->l_proc;
gid_t gid = SCARG(uap, gid);
int error;
@@ -116,7 +115,6 @@
register_t *retval;
{
struct osf1_sys_setuid_args *uap = v;
- struct proc *p = l->l_proc;
uid_t uid = SCARG(uap, uid);
int error;
Home |
Main Index |
Thread Index |
Old Index