Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Jan 2002 14:54:24 -0700 (MST)
From:      "M. Warner Losh" <imp@village.org>
To:        drosih@rpi.edu
Cc:        deatley@apple.com, arch@FreeBSD.ORG
Subject:   Re: __P macro question
Message-ID:  <20020130.145424.00452635.imp@village.org>
In-Reply-To: <p05101218b87df1cb2d6a@[128.113.24.47]>
References:  <FD5651F8-1537-11D6-993F-003065766C3C@apple.com> <p05101218b87df1cb2d6a@[128.113.24.47]>

next in thread | previous in thread | raw e-mail | index | archive | help
In message: <p05101218b87df1cb2d6a@[128.113.24.47]>
            Garance A Drosihn <drosih@rpi.edu> writes:
: I also think that maybe we *do* need a specific code-sweep which does
: nothing but (carefully) remove all the __P()'s, if for no other
: reason than to avoid seeing this debate again in six to eight months.

I'm going through bin right now removing __P() and making the
functions have new-style rather than old-style decls.  It is a nice
little mindless thing to do when to relax and unwind.  I plan on
committing this this weekend (see below).  I've seen nothing so far to
tell me not to do it:

1) Repo-bloat: Not an issue.  We're going to do this someday, we will
   have the same amount of repo expansion.  Disk is cheap.  CVSUP and
   CTM makes changes like this very pain free.
2) Compat with *BSD: NetBSD is agressively removing __P.  OpenBSD is
   in places and not in others.  BSDi doesn't give us code anymore.
   Diff against Net2 is impossible.  This has ceased to be a
   compelling argument.
3) Compatible with older compilers: unprotoize(1) fixes this for the
   vanishingly small minority of users that NEED this.  We already
   don't work with non-asni compilers, and the breakage is getting
   worse as time goes on.  Time to clean it up.
4) What about my amiga: gcc works on the amgia.  Bootstrap with
   NetBSD/amiga.

I've yet to see a compelling argument against me doing this.  You have
until Friday to make a compelling case.  The time has come for this
change.  bin gets committed this weekend.  I'll post diffs on Friday
and commit Sunday/Monday.  So far, no one has replied to my other mail
that threatened to do this, so I'm taking that as agreement.

Comments?

Warner

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




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