git: <sys/unistd.h>: Rename struct lwp_params member names.
Sascha Wildner
swildner at crater.dragonflybsd.org
Wed Mar 11 10:19:14 PDT 2015
commit b44473af978aa2f178bc5b165a044dec0489a86d
Author: Sascha Wildner <saw at online.de>
Date: Wed Mar 11 18:10:55 2015 +0100
<sys/unistd.h>: Rename struct lwp_params member names.
This is mainly to better "protect" them against 3rd party software doing
silly things like lvm2 which has a "#define stack ..." that conflicted
with the struct's 'stack' member, for example. It's a lame reason to
rename the struct members, but, given that it is a public struct, it's
a good thing to do so generally.
Also, because it is a public structure, bump __DragonFly_version so it
can be dealt with in code. I didn't find any usage of our lwp_* code
in dports but it might be used in someone's own code still.
Summary of changes:
lib/libthread_xu/thread/thr_create.c | 9 ++++-----
sys/kern/kern_fork.c | 8 ++++----
sys/platform/pc64/x86_64/vm_machdep.c | 6 +++---
sys/platform/vkernel64/x86_64/vm_machdep.c | 6 +++---
sys/sys/param.h | 3 ++-
sys/sys/unistd.h | 11 +++++------
6 files changed, 21 insertions(+), 22 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/b44473af978aa2f178bc5b165a044dec0489a86d
--
DragonFly BSD source repository
More information about the Commits
mailing list