From 47aeb22b7538164b2500012154936024baaa34cd Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 22 Feb 2014 22:58:11 +0100 Subject: client API: remove trailing "," from enums This is allowed in C99 and C++11, but apparently not in C89 and C++98. Make it conform to the older standards, since we want the client API header to be highly portable. --- libmpv/client.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libmpv') diff --git a/libmpv/client.h b/libmpv/client.h index 6a41871881..732aaf1fa0 100644 --- a/libmpv/client.h +++ b/libmpv/client.h @@ -216,7 +216,7 @@ typedef enum mpv_error { /** * Error setting or getting a property. */ - MPV_ERROR_PROPERTY_ERROR = -11, + MPV_ERROR_PROPERTY_ERROR = -11 } mpv_error; /** @@ -388,7 +388,7 @@ typedef enum mpv_format { * * Only valid when doing read access. The rest works like MPV_FORMAT_STRING. */ - MPV_FORMAT_OSD_STRING = 2, + MPV_FORMAT_OSD_STRING = 2 } mpv_format; /** @@ -643,7 +643,7 @@ typedef enum mpv_event_id { * unspecified whether this happens on file start or only when it changes * within a file.) */ - MPV_EVENT_METADATA_UPDATE = 19, + MPV_EVENT_METADATA_UPDATE = 19 } mpv_event_id; /** -- cgit v1.2.3