diff options
author | wm4 <wm4@nowhere> | 2014-02-22 22:58:11 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-02-24 20:48:59 +0100 |
commit | 47aeb22b7538164b2500012154936024baaa34cd (patch) | |
tree | 349533455c954eca4f7e9e5f2db46e30c1f5e1f1 /libmpv | |
parent | 4123c2a70869627678b277b9caae5f70270f9bb6 (diff) | |
download | mpv-47aeb22b7538164b2500012154936024baaa34cd.tar.bz2 mpv-47aeb22b7538164b2500012154936024baaa34cd.tar.xz |
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.
Diffstat (limited to 'libmpv')
-rw-r--r-- | libmpv/client.h | 6 |
1 files changed, 3 insertions, 3 deletions
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; /** |