[haiku-bugs] Re: [Haiku] #12617: Merge all instances of BSD headers into one place (WIP/Help requested)

  • From: "pulkomandy" <trac@xxxxxxxxxxxx>
  • Date: Tue, 26 Jan 2016 07:41:38 -0000

#12617: Merge all instances of BSD headers into one place (WIP/Help requested)
----------------------------+----------------------------
   Reporter:  TwoFx         |      Owner:  korli
       Type:  bug           |     Status:  assigned
   Priority:  normal        |  Milestone:  R1
  Component:  Build System  |    Version:  R1/Development
 Resolution:                |   Keywords:
 Blocked By:                |   Blocking:
Has a Patch:  0             |   Platform:  All
----------------------------+----------------------------

Comment (by pulkomandy):

 +1 to sys/queue.h, which should really be part of the C standard :)

 However, your patch moves a lot more things to the public headers, which
 shouldn't be there. All the "bus" and other low-level things are for
 kernel-side of FreeBSD, not public APIs, and we don't want to expose those
 as public headers.

 So, I suggest moving only what you really need (queue.h, maybe ar.h) to
 the public headers.

 I have a doubt about ar.h: are we using the same format as FreeBSD for ar
 archives? Or are we using some gnu-extended one?

--
Ticket URL: <https://dev.haiku-os.org/ticket/12617#comment:4>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: