2005-06-30 18:34:28 -04:00
|
|
|
$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){
|
2004-09-26 05:23:44 -04:00
|
|
|
return(1);
|
|
|
|
}
|
|
|
|
|
2005-06-30 18:34:28 -04:00
|
|
|
+#if !defined(__OpenBSD__)
|
2004-09-26 05:23:44 -04:00
|
|
|
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;
|