diff options
author | behlendo <behlendo@7e1ea52c-4ff2-0310-8f11-9dd32ca42a1c> | 2008-06-03 21:20:18 +0000 |
---|---|---|
committer | behlendo <behlendo@7e1ea52c-4ff2-0310-8f11-9dd32ca42a1c> | 2008-06-03 21:20:18 +0000 |
commit | 691d2bd73332fcff869860b3e6a2e37a04f737f2 (patch) | |
tree | bfdaa519e21d44cb44e18bb59719fcaddb5e940a /include/sys | |
parent | 684f787474561bb28e1217c5ae2d897aa80e1d87 (diff) |
Update utsname to use proper compatible interface to avoid API issues.
git-svn-id: https://outreach.scidac.gov/svn/spl/trunk@123 7e1ea52c-4ff2-0310-8f11-9dd32ca42a1c
Diffstat (limited to 'include/sys')
-rw-r--r-- | include/sys/utsname.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/sys/utsname.h b/include/sys/utsname.h index 7b1563d4b..d4b9dc8ae 100644 --- a/include/sys/utsname.h +++ b/include/sys/utsname.h @@ -3,6 +3,8 @@ #include <linux/utsname.h> -#define utsname system_utsname +extern struct new_utsname *__utsname(void); + +#define utsname (*__utsname()) #endif /* SPL_UTSNAME_H */ |