summaryrefslogtreecommitdiffstats
path: root/debian/mp4v2/mp4v2-2.0.0~dfsg0/libplatform/number
diff options
context:
space:
mode:
Diffstat (limited to 'debian/mp4v2/mp4v2-2.0.0~dfsg0/libplatform/number')
-rw-r--r--debian/mp4v2/mp4v2-2.0.0~dfsg0/libplatform/number/random.h18
-rw-r--r--debian/mp4v2/mp4v2-2.0.0~dfsg0/libplatform/number/random_posix.cpp24
-rw-r--r--debian/mp4v2/mp4v2-2.0.0~dfsg0/libplatform/number/random_win32.cpp24
3 files changed, 0 insertions, 66 deletions
diff --git a/debian/mp4v2/mp4v2-2.0.0~dfsg0/libplatform/number/random.h b/debian/mp4v2/mp4v2-2.0.0~dfsg0/libplatform/number/random.h
deleted file mode 100644
index 9d0f105b..00000000
--- a/debian/mp4v2/mp4v2-2.0.0~dfsg0/libplatform/number/random.h
+++ /dev/null
@@ -1,18 +0,0 @@
-#ifndef MP4V2_PLATFORM_NUMBER_RANDOM_H
-#define MP4V2_PLATFORM_NUMBER_RANDOM_H
-
-namespace mp4v2 { namespace platform { namespace number {
-
-///////////////////////////////////////////////////////////////////////////////
-
-/// Generate 32-bit pseudo-random number.
-MP4V2_EXPORT uint32_t random32();
-
-/// Seed pseudo-random number generator.
-MP4V2_EXPORT void srandom( uint32_t );
-
-///////////////////////////////////////////////////////////////////////////////
-
-}}} // namespace mp4v2::platform::number
-
-#endif // MP4V2_PLATFORM_NUMBER_RANDOM_H
diff --git a/debian/mp4v2/mp4v2-2.0.0~dfsg0/libplatform/number/random_posix.cpp b/debian/mp4v2/mp4v2-2.0.0~dfsg0/libplatform/number/random_posix.cpp
deleted file mode 100644
index 0bdcd1db..00000000
--- a/debian/mp4v2/mp4v2-2.0.0~dfsg0/libplatform/number/random_posix.cpp
+++ /dev/null
@@ -1,24 +0,0 @@
-#include "libplatform/impl.h"
-#include <stdlib.h>
-
-namespace mp4v2 { namespace platform { namespace number {
-
-///////////////////////////////////////////////////////////////////////////////
-
-uint32_t
-random32()
-{
- return uint32_t( ::random() );
-}
-
-///////////////////////////////////////////////////////////////////////////////
-
-void
-srandom( uint32_t seed )
-{
- ::srandom( seed );
-}
-
-///////////////////////////////////////////////////////////////////////////////
-
-}}} // namespace mp4v2::platform::time
diff --git a/debian/mp4v2/mp4v2-2.0.0~dfsg0/libplatform/number/random_win32.cpp b/debian/mp4v2/mp4v2-2.0.0~dfsg0/libplatform/number/random_win32.cpp
deleted file mode 100644
index f884e5dc..00000000
--- a/debian/mp4v2/mp4v2-2.0.0~dfsg0/libplatform/number/random_win32.cpp
+++ /dev/null
@@ -1,24 +0,0 @@
-#include "libplatform/impl.h"
-#include <stdlib.h>
-
-namespace mp4v2 { namespace platform { namespace number {
-
-///////////////////////////////////////////////////////////////////////////////
-
-uint32_t
-random32()
-{
- return uint32_t( ::rand() << 16 | ::rand() );
-}
-
-///////////////////////////////////////////////////////////////////////////////
-
-void
-srandom( uint32_t seed )
-{
- ::srand( seed );
-}
-
-///////////////////////////////////////////////////////////////////////////////
-
-}}} // namespace mp4v2::platform::time