1234567891011121314151617 |
- $OpenBSD: patch-src_cdpar_c,v 1.2 2005/06/30 22:34:29 alek Exp $
- --- src/cdpar.c.orig Mon Jun 6 11:04:03 2005
- +++ src/cdpar.c Mon Jun 6 11:03:51 2005
- @@ -56,10 +56,12 @@ static inline int bigendianp(void){
- return(1);
- }
-
- +#if !defined(__OpenBSD__)
- static inline size16 swap16(size16 x){
- return((((unsigned size16)x & 0x00ffU) << 8) |
- (((unsigned size16)x & 0xff00U) >> 8));
- }
- +#endif
-
- /* Ugly hack because we can't pass user data to the callback */
- int *global_rip_smile_level;
|