From owner-cvs-lib Thu Jul 9 19:33:08 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA06544 for cvs-lib-outgoing; Thu, 9 Jul 1998 19:33:08 -0700 (PDT) (envelope-from owner-cvs-lib) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA05833; Thu, 9 Jul 1998 19:27:31 -0700 (PDT) (envelope-from bde@FreeBSD.org) From: Bruce Evans Received: (from bde@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id TAA14782; Thu, 9 Jul 1998 19:27:17 -0700 (PDT) Date: Thu, 9 Jul 1998 19:27:17 -0700 (PDT) Message-Id: <199807100227.TAA14782@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG, cvs-lib@FreeBSD.ORG Subject: cvs commit: src/sys/alpha/include types.h src/sys/i386/include profile.h types.h src/lib/libc/gmon mcount.c Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 1998/07/09 19:27:16 PDT Modified files: sys/alpha/include types.h sys/i386/include profile.h types.h lib/libc/gmon mcount.c Log: Added a kernel-only typedef (ptrint_t) giving an integral type that is least unsuitable for holding an object pointer. This should have been used to fix warnings about casts between pointers and ints on alphas. Moved corresponding existing general typedef (fptrint_t) for function pointers from the i386 to a kernel-only typedef in . Kludged libc/gmon/mcount.c so that it can still see this typedef. Revision Changes Path 1.6 +7 -1 src/sys/alpha/include/types.h 1.15 +1 -4 src/sys/i386/include/profile.h 1.14 +7 -1 src/sys/i386/include/types.h 1.11 +11 -2 src/lib/libc/gmon/mcount.c