aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEthan Sommer <e5ten.arch@gmail.com>2020-06-05 16:44:53 -0400
committerEthan Sommer <e5ten.arch@gmail.com>2020-06-05 17:18:44 -0400
commit0c279d81e722e8e7c285dae22666675787bd30e9 (patch)
treefce87003a479c8823c711ce089cef337dd26c8be /src
parentccdf495f7b3b979954d7bc7041ddd2216eb1026d (diff)
cmake: specify c99
Set standard to c99, require it, disable language extensions. Define _POSIX_C_SOURCE to 200809L so time.h declares struct timespec. Add -Wpedantic to find use of language extensions. snd_card_plugin.c: remove one unnecessary ';' to make -Wpedantic work
Diffstat (limited to 'src')
-rw-r--r--src/snd_card_plugin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/snd_card_plugin.c b/src/snd_card_plugin.c
index 17912a2..c6d4baf 100644
--- a/src/snd_card_plugin.c
+++ b/src/snd_card_plugin.c
@@ -81,7 +81,7 @@ enum snd_node_type snd_utils_get_node_type(struct snd_node *node)
node->ops->get_int(node->dev_node, "type", &val);
return val;
-};
+}
static int snd_utils_resolve_symbols(struct snd_node *node)
{