[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [qemu/qemu] 04b33e: Replace 'struct ucontext' with 'ucont
From: |
GitHub |
Subject: |
[Qemu-commits] [qemu/qemu] 04b33e: Replace 'struct ucontext' with 'ucontext_t' type |
Date: |
Thu, 20 Jul 2017 02:59:38 -0700 |
Branch: refs/heads/master
Home: https://github.com/qemu/qemu
Commit: 04b33e21866412689f18b7ad6daf0a54d8f959a7
https://github.com/qemu/qemu/commit/04b33e21866412689f18b7ad6daf0a54d8f959a7
Author: Khem Raj <address@hidden>
Date: 2017-07-20 (Thu, 20 Jul 2017)
Changed paths:
M linux-user/host/aarch64/hostdep.h
M linux-user/host/arm/hostdep.h
M linux-user/host/i386/hostdep.h
M linux-user/host/ppc64/hostdep.h
M linux-user/host/s390x/hostdep.h
M linux-user/host/x86_64/hostdep.h
M linux-user/signal.c
M tests/tcg/test-i386.c
M user-exec.c
Log Message:
-----------
Replace 'struct ucontext' with 'ucontext_t' type
glibc used to have:
typedef struct ucontext { ... } ucontext_t;
glibc now has:
typedef struct ucontext_t { ... } ucontext_t;
(See https://sourceware.org/bugzilla/show_bug.cgi?id=21457
for detail and rationale for the glibc change)
However, QEMU used "struct ucontext" in declarations. This is a
private name and compatibility cannot be guaranteed. Switch to
only using the standardized type name.
Signed-off-by: Khem Raj <address@hidden>
Message-id: address@hidden
Cc: Kamil Rytarowski <address@hidden>
Cc: Riku Voipio <address@hidden>
Cc: Laurent Vivier <address@hidden>
Cc: Paolo Bonzini <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
[PMM: Rewrote commit message, based mostly on the one from
Nathaniel McCallum]
Signed-off-by: Peter Maydell <address@hidden>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-commits] [qemu/qemu] 04b33e: Replace 'struct ucontext' with 'ucontext_t' type,
GitHub <=