aboutsummaryrefslogtreecommitdiffstats
path: root/src/mp4ff
diff options
context:
space:
mode:
Diffstat (limited to 'src/mp4ff')
-rw-r--r--src/mp4ff/drms.c2
-rw-r--r--src/mp4ff/drms.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mp4ff/drms.c b/src/mp4ff/drms.c
index 368b88110..77bc105e7 100644
--- a/src/mp4ff/drms.c
+++ b/src/mp4ff/drms.c
@@ -871,7 +871,7 @@ struct drms_s
#define P_DRMS ((struct drms_s *)p_drms)
-void *drms_alloc()
+void *drms_alloc(void)
{
struct drms_s *p_drms;
diff --git a/src/mp4ff/drms.h b/src/mp4ff/drms.h
index 42d957400..3555d5891 100644
--- a/src/mp4ff/drms.h
+++ b/src/mp4ff/drms.h
@@ -31,7 +31,7 @@ extern int drms_get_sys_key( uint32_t *p_sys_key );
extern int drms_get_user_key( uint32_t *p_sys_key,
uint32_t *p_user_key );
-extern void *drms_alloc();
+extern void *drms_alloc(void);
extern void drms_free( void *p_drms );
extern int drms_init( void *p_drms, uint32_t i_type,
uint8_t *p_info, uint32_t i_len );