NetBSD Problem Report #1096
From gnats Sat Jun 3 13:13:17 1995
Received: from pain.lcs.mit.edu (pain.lcs.mit.edu [128.52.46.239]) by sun-lamp.cs.berkeley.edu (8.6.10/8.6.10) with ESMTP id NAA05272 for <gnats-bugs@sun-lamp.cs.berkeley.edu>; Sat, 3 Jun 1995 13:13:16 -0700
Message-Id: <199506032014.NAA03066@gandalf.sigmasoft.com>
Date: Sat, 3 Jun 1995 13:14:19 -0700
From: Thorsten Lockert <tholo@SigmaSoft.COM>
Reply-To: tholo@SigmaSoft.COM
To: gnats-bugs@NetBSD.ORG
Subject: sysarch(2) has no prototype
X-Send-Pr-Version: 3.2
>Number: 1096
>Category: port-i386
>Synopsis: sysarch(2) has no prototype
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: gnats-admin (GNATS administrator)
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Jun 03 13:20:06 +0000 1995
>Closed-Date: Fri Jun 23 16:03:00 +0000 1995
>Last-Modified:
>Originator: Thorsten Lockert
>Release: May 28, 1995
>Organization:
SigmaSoft, Th. Lockert
>Environment:
System: NetBSD gandalf.sigmasoft.com 1.0A NetBSD 1.0A (GANDALF) #1: Sun May 7 21:49:27 PDT 1995 tholo@gandalf.sigmasoft.com:/usr/src/sys/arch/i386/compile/GANDALF i386
>Description:
The sysarch(2) system call (used for the i386 libarch) has no
prototype defined.
>How-To-Repeat:
Compile src/lib/libarch with -Wall -Wstrict-prototypes
>Fix:
Apply the following patch:
*** src/sys/arch/i386/include/sysarch.h.orig Sat Jun 3 13:10:37 1995
--- src/sys/arch/i386/include/sysarch.h Sat Jun 3 13:10:57 1995
***************
*** 24,29 ****
--- 24,30 ----
#ifndef _KERNEL
int i386_get_ldt __P((int, union descriptor *, int));
int i386_set_ldt __P((int, union descriptor *, int));
+ int sysarch __P((int, char *));
#endif
#endif /* !_I386_SYSARCH_H_ */
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: pk
State-Changed-When: Fri Jun 23 12:03:00 EDT 1995
State-Changed-Why:
Applied suggested prototype/declaration changes.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.