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

Diego Biurrun <[email protected]> Tue, 11 Nov 2014 14:34:33 +0100
Newsgroups gmane.comp.video.videolan.libdvdcss,gmane.comp.video.videolan.libdvdcss.devel
Message-ID <[email protected]>
---
 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

_______________________________________________
libdvdcss-devel mailing list
[email protected]
https://mailman.videolan.org/listinfo/libdvdcss-devel