From 80b06aacc83c45bff8c5ca824151b055c0921e4f Mon Sep 17 00:00:00 2001 From: marcel Date: Mon, 3 Jan 2000 16:49:39 +0000 Subject: Make offsetof equivalent with . This paves the way for further enhancements/reorganisations. Discussed with: bde --- sys/i386/linux/linux_genassym.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sys/i386/linux/linux_genassym.c') diff --git a/sys/i386/linux/linux_genassym.c b/sys/i386/linux/linux_genassym.c index b555486..b9a31ef 100644 --- a/sys/i386/linux/linux_genassym.c +++ b/sys/i386/linux/linux_genassym.c @@ -5,7 +5,7 @@ #include -ASSYM(LINUX_SIGF_HANDLER, offsetof(linux_sigframe, sf_handler)); -ASSYM(LINUX_SIGF_SC, offsetof(linux_sigframe, sf_sc)); -ASSYM(LINUX_SC_GS, offsetof(linux_sigcontext, sc_gs)); -ASSYM(LINUX_SC_EFLAGS, offsetof(linux_sigcontext, sc_eflags)); +ASSYM(LINUX_SIGF_HANDLER, offsetof(struct linux_sigframe, sf_handler)); +ASSYM(LINUX_SIGF_SC, offsetof(struct linux_sigframe, sf_sc)); +ASSYM(LINUX_SC_GS, offsetof(struct linux_sigcontext, sc_gs)); +ASSYM(LINUX_SC_EFLAGS, offsetof(struct linux_sigcontext, sc_eflags)); -- cgit v1.1