From owner-cvs-all Thu Dec 23 8:30: 5 1999 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 5AFC714C93; Thu, 23 Dec 1999 08:30:00 -0800 (PST) (envelope-from bde@FreeBSD.org) Received: (from bde@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id IAA91616; Thu, 23 Dec 1999 08:30:00 -0800 (PST) (envelope-from bde@FreeBSD.org) Message-Id: <199912231630.IAA91616@freefall.freebsd.org> From: Bruce Evans Date: Thu, 23 Dec 1999 08:30:00 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc/gen psignal.3 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk bde 1999/12/23 08:30:00 PST Modified files: lib/libc/gen psignal.3 Log: Fixed wrong prototype and missing include for strsignal(3). strsignal() takes an int arg and is prototyped in . It has the opposite interface botches to psignal(3) which takes a bogus unsigned arg but is prototyped in the right place. This is not the last of the interface problems for strsignal(). We obtained it from NetBSD, but NetBSD has moved its prototype to . strsignal() should return const char *, but it returns char * for historical reasons. NetBSD declares it as returning __aconst char, where __aconst is normally empty but can be set to `const' to give better error checking. glibc-2.1.1 prototypes strsignal() in . Revision Changes Path 1.10 +4 -3 src/lib/libc/gen/psignal.3 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message