summaryrefslogtreecommitdiffstats
path: root/sys/i386/include/profile.h
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1998-07-10 02:27:16 +0000
committerbde <bde@FreeBSD.org>1998-07-10 02:27:16 +0000
commit63dd5b520f4e0ad42df07e66779dc70b7b6f0037 (patch)
treeb085b1c48a46304e71d7a38c26603c94a008178d /sys/i386/include/profile.h
parent3032208d427abf6412386a421807120d9f6e9c33 (diff)
downloadFreeBSD-src-63dd5b520f4e0ad42df07e66779dc70b7b6f0037.zip
FreeBSD-src-63dd5b520f4e0ad42df07e66779dc70b7b6f0037.tar.gz
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 <machine/profile.h> to a kernel-only typedef in <machine/types.h>. Kludged libc/gmon/mcount.c so that it can still see this typedef.
Diffstat (limited to 'sys/i386/include/profile.h')
-rw-r--r--sys/i386/include/profile.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/i386/include/profile.h b/sys/i386/include/profile.h
index 44da274..e3da51a 100644
--- a/sys/i386/include/profile.h
+++ b/sys/i386/include/profile.h
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)profile.h 8.1 (Berkeley) 6/11/93
- * $Id: profile.h,v 1.13 1997/12/15 02:18:30 tegge Exp $
+ * $Id: profile.h,v 1.14 1998/02/03 20:32:38 bde Exp $
*/
#ifndef _MACHINE_PROFILE_H_
@@ -103,9 +103,6 @@ mcount() \
}
#endif /* KERNEL */
-/* An unsigned integral type that can hold function pointers. */
-typedef u_int fptrint_t;
-
/*
* An unsigned integral type that can hold non-negative difference between
* function pointers.
OpenPOWER on IntegriCloud