[libdvdcss-devel] [PATCH 3/5] Move DVD_CHALLENGE_SIZE macro to the only file it is used.

Diego Biurrun diego at biurrun.de
Fri Nov 7 21:57:44 CET 2014


---
 src/ioctl.c | 2 ++
 src/ioctl.h | 1 -
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/ioctl.c b/src/ioctl.c
index a52a5b3..1c6f51a 100644
--- a/src/ioctl.c
+++ b/src/ioctl.c
@@ -87,6 +87,8 @@
 #include "common.h"
 #include "ioctl.h"
 
+#define DVD_CHALLENGE_SIZE 10
+
 /*****************************************************************************
  * Local prototypes, OS-specific
  *****************************************************************************/
diff --git a/src/ioctl.h b/src/ioctl.h
index 60d7868..ded1d3c 100644
--- a/src/ioctl.h
+++ b/src/ioctl.h
@@ -38,7 +38,6 @@ int ioctl_SendKey2          ( int, const int *, const uint8_t * );
 int ioctl_ReportRPC         ( int, int *, int *, int * );
 
 #define DVD_KEY_SIZE 5
-#define DVD_CHALLENGE_SIZE 10
 #define DVD_DISCKEY_SIZE 2048
 
 /*****************************************************************************
-- 
2.1.0



More information about the libdvdcss-devel mailing list