Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Jul 1998 19:27:17 -0700 (PDT)
From:      Bruce Evans <bde@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
Message-ID:  <199807100227.TAA14782@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <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.
  
  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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199807100227.TAA14782>