From 0c279d81e722e8e7c285dae22666675787bd30e9 Mon Sep 17 00:00:00 2001 From: Ethan Sommer Date: Fri, 5 Jun 2020 16:44:53 -0400 Subject: 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 --- src/snd_card_plugin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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) { -- cgit v1.2.3