summaryrefslogtreecommitdiffstats
path: root/libhb/ports.h
diff options
context:
space:
mode:
authorDamiano Galassi <[email protected]>2017-11-24 12:00:33 +0100
committerDamiano Galassi <[email protected]>2017-11-24 12:00:33 +0100
commitb73dabc600420663a5962d3da5decdd8c3a7bbd1 (patch)
tree918126b2dcd8125c18ebd6c3a44cb4d832c83e4b /libhb/ports.h
parent13c8582eff580913d290b98bc0a58970121ee088 (diff)
libhb: fix warnings.
Diffstat (limited to 'libhb/ports.h')
-rw-r--r--libhb/ports.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/libhb/ports.h b/libhb/ports.h
index b1b478d5f..33bb9c059 100644
--- a/libhb/ports.h
+++ b/libhb/ports.h
@@ -42,21 +42,21 @@ enum hb_cpu_platform
HB_CPU_PLATFORM_INTEL_SKL,
HB_CPU_PLATFORM_INTEL_KBL,
};
-int hb_get_cpu_count();
-int hb_get_cpu_platform();
-const char* hb_get_cpu_name();
-const char* hb_get_cpu_platform_name();
+int hb_get_cpu_count(void);
+int hb_get_cpu_platform(void);
+const char* hb_get_cpu_name(void);
+const char* hb_get_cpu_platform_name(void);
/************************************************************************
* Utils
***********************************************************************/
// provide time in ms
-uint64_t hb_get_date();
+uint64_t hb_get_date(void);
// provide time in us
-uint64_t hb_get_time_us();
+uint64_t hb_get_time_us(void);
void hb_snooze( int delay );
-int hb_platform_init();
+int hb_platform_init(void);
#ifdef SYS_MINGW
typedef struct