From b4f4d331e0011c69d40e285ef710cca09c093159 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Sat, 14 Sep 2013 22:03:57 -0400 Subject: Move definition of struct segoff_s from farptr.h to types.h. The segoff_s definition is used by a number of header files that would not otherwise need farptr.h, so move it to a more central location. Signed-off-by: Kevin O'Connor --- src/farptr.h | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'src/farptr.h') diff --git a/src/farptr.h b/src/farptr.h index 5b6c5c10..b64567e1 100644 --- a/src/farptr.h +++ b/src/farptr.h @@ -196,16 +196,6 @@ static inline void outsl_fl(u16 port, void *ptr_fl, u16 count) { #endif -// Definition for common 16bit segment/offset pointers. -struct segoff_s { - union { - struct { - u16 offset; - u16 seg; - }; - u32 segoff; - }; -}; #define SEGOFF(s,o) ({struct segoff_s __so; __so.offset=(o); __so.seg=(s); __so;}) static inline struct segoff_s FLATPTR_TO_SEGOFF(void *p) { -- cgit