patch-src_cdpar_c 505 B

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