History log of /haiku/headers/build/host/freebsd/sys/stat.h
Revision Date Author Comments
# 19a18af3 13-Aug-2012 John Scipione <jscipione@gmail.com>

Convert fs_host files from c back to cpp and style changes.

* fs_darwin.c => fs_darwin.cpp
* fs_freebsd.c => fs_freebsd.cpp
* use bool instead of int again in fs_darwin.cpp (C => C++)
* declare loop varibles inline again in fs_freebsd.cpp (C => C++)
* 2 newlines between top header gaurd and first #include
* 2 newlines after last #include
* freebsd/endian.h and freebsd/regex.h convert \r\n to just \n
* remove some leading tabs in fs_freebsd.cpp
* add newlines after single line if statement in fs_freebsd.cpp
* 80-char limit fixes in fs_freebsd.cpp


# a43b1ed6 11-Aug-2012 John Scipione <jscipione@gmail.com>

Split fs_darwin.h defines into various platform dependent headers.

This completes the final 1/3 of #8857. Changes again by nielx with
style fixes by me.

The one part that I couldn't figure out, and maybe Ingo can chime
in here. If headers/build/host/darwin/sys/stat.h is surrounded in

extern "C" {

}

guards then I get a link error complaining that the functions defined
here are duplicate symbols, once in fs.o and once in function_remapper.o.
For example:

ld: duplicate symbol _futimens in generated/objects/darwin/x86_64/release/build/libroot/libroot_build_function_remapper.a(function_remapper.o) and generated/objects/darwin/x86_64/release/build/libroot/libroot_build.a(fs.o) for architecture x86_64

I'm not sure why that is.


# d7f3dac1 09-Mar-2012 John Scipione <jscipione@gmail.com>

Style fixes suggested by Axeld.
Added Ingo to the copyright
Updated copyright year to 2012 for my contribution.


# 363c147d 27-Nov-2011 Ingo Weinhold <ingo_weinhold@gmx.de>

FreeBSD host sys/stat.h: Add missing extern "C"


# 62f5df58 27-Nov-2011 Ingo Weinhold <ingo_weinhold@gmx.de>

Provide futimens(), utimensat() missing on FreeBSD


# 19a18af35e4641e1d48f32ed9440e52e21865990 13-Aug-2012 John Scipione <jscipione@gmail.com>

Convert fs_host files from c back to cpp and style changes.

* fs_darwin.c => fs_darwin.cpp
* fs_freebsd.c => fs_freebsd.cpp
* use bool instead of int again in fs_darwin.cpp (C => C++)
* declare loop varibles inline again in fs_freebsd.cpp (C => C++)
* 2 newlines between top header gaurd and first #include
* 2 newlines after last #include
* freebsd/endian.h and freebsd/regex.h convert \r\n to just \n
* remove some leading tabs in fs_freebsd.cpp
* add newlines after single line if statement in fs_freebsd.cpp
* 80-char limit fixes in fs_freebsd.cpp


# a43b1ed6d894723ed5dbc26e2c399e8ad46022d6 11-Aug-2012 John Scipione <jscipione@gmail.com>

Split fs_darwin.h defines into various platform dependent headers.

This completes the final 1/3 of #8857. Changes again by nielx with
style fixes by me.

The one part that I couldn't figure out, and maybe Ingo can chime
in here. If headers/build/host/darwin/sys/stat.h is surrounded in

extern "C" {

}

guards then I get a link error complaining that the functions defined
here are duplicate symbols, once in fs.o and once in function_remapper.o.
For example:

ld: duplicate symbol _futimens in generated/objects/darwin/x86_64/release/build/libroot/libroot_build_function_remapper.a(function_remapper.o) and generated/objects/darwin/x86_64/release/build/libroot/libroot_build.a(fs.o) for architecture x86_64

I'm not sure why that is.


# d7f3dac1eb807c46d06fbca9424409876d51dbf2 09-Mar-2012 John Scipione <jscipione@gmail.com>

Style fixes suggested by Axeld.
Added Ingo to the copyright
Updated copyright year to 2012 for my contribution.


# 363c147d86f5c50c0dc9013e9cb7dd6901d0f894 27-Nov-2011 Ingo Weinhold <ingo_weinhold@gmx.de>

FreeBSD host sys/stat.h: Add missing extern "C"


# 62f5df5852a32dc9d58b7aa4bdafa3d3c773f708 27-Nov-2011 Ingo Weinhold <ingo_weinhold@gmx.de>

Provide futimens(), utimensat() missing on FreeBSD