summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/portmidi/porttime/ptmacosx_cf.c
diff options
context:
space:
mode:
Diffstat (limited to '3rdparty/portmidi/porttime/ptmacosx_cf.c')
-rw-r--r--3rdparty/portmidi/porttime/ptmacosx_cf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/3rdparty/portmidi/porttime/ptmacosx_cf.c b/3rdparty/portmidi/porttime/ptmacosx_cf.c
index 3eb0de12f82..1bc9658d216 100644
--- a/3rdparty/portmidi/porttime/ptmacosx_cf.c
+++ b/3rdparty/portmidi/porttime/ptmacosx_cf.c
@@ -111,7 +111,7 @@ PtError Pt_Start(int resolution, PtCallback *callback, void *userData)
}
-PtError Pt_Stop()
+PtError Pt_Stop(void)
{
printf("Pt_Stop called\n");
@@ -121,13 +121,13 @@ PtError Pt_Stop()
}
-int Pt_Started()
+int Pt_Started(void)
{
return time_started_flag;
}
-PtTimestamp Pt_Time()
+PtTimestamp Pt_Time(void)
{
CFAbsoluteTime now = CFAbsoluteTimeGetCurrent();
return (PtTimestamp) ((now - startTime) * 1000.0);