master hovercats/oakiss / pkg / alsa-lib / patch / 0002-Prevent-empty-top-level-declarations.patch
  1From c98863254a954696ee168a7a607b2fd60a8680ea Mon Sep 17 00:00:00 2001
  2From: Michael Forney <mforney@mforney.org>
  3Date: Wed, 3 Jul 2019 18:15:11 -0700
  4Subject: [PATCH] Prevent empty top-level declarations
  5
  6These macros may be defined as a function definition or defined
  7away. In both cases, the ';' after the macro invocation to be treated
  8as an empty top-level declaration, which is not allowed in ISO C.
  9---
 10 include/alsa-symbols.h     |  8 ++++----
 11 src/conf.c                 |  4 ++--
 12 src/confmisc.c             | 32 ++++++++++++++++----------------
 13 src/control/control.c      |  6 +++---
 14 src/control/control_hw.c   |  2 +-
 15 src/control/control_shm.c  |  2 +-
 16 src/dlmisc.c               |  4 ++--
 17 src/hwdep/hwdep_hw.c       |  2 +-
 18 src/names.c                |  4 ++--
 19 src/pcm/pcm.c              | 30 +++++++++++++++---------------
 20 src/pcm/pcm_adpcm.c        |  2 +-
 21 src/pcm/pcm_alaw.c         |  2 +-
 22 src/pcm/pcm_asym.c         |  2 +-
 23 src/pcm/pcm_copy.c         |  2 +-
 24 src/pcm/pcm_dmix.c         |  2 +-
 25 src/pcm/pcm_dshare.c       |  2 +-
 26 src/pcm/pcm_dsnoop.c       |  2 +-
 27 src/pcm/pcm_empty.c        |  2 +-
 28 src/pcm/pcm_file.c         |  2 +-
 29 src/pcm/pcm_hooks.c        |  4 ++--
 30 src/pcm/pcm_hw.c           |  2 +-
 31 src/pcm/pcm_iec958.c       |  2 +-
 32 src/pcm/pcm_ladspa.c       |  2 +-
 33 src/pcm/pcm_lfloat.c       |  2 +-
 34 src/pcm/pcm_linear.c       |  2 +-
 35 src/pcm/pcm_meter.c        |  2 +-
 36 src/pcm/pcm_mmap_emul.c    |  2 +-
 37 src/pcm/pcm_mulaw.c        |  2 +-
 38 src/pcm/pcm_multi.c        |  2 +-
 39 src/pcm/pcm_null.c         |  2 +-
 40 src/pcm/pcm_plug.c         |  2 +-
 41 src/pcm/pcm_rate.c         |  2 +-
 42 src/pcm/pcm_route.c        |  2 +-
 43 src/pcm/pcm_share.c        |  2 +-
 44 src/pcm/pcm_shm.c          |  2 +-
 45 src/pcm/pcm_softvol.c      |  2 +-
 46 src/rawmidi/rawmidi_hw.c   |  2 +-
 47 src/rawmidi/rawmidi_virt.c |  2 +-
 48 src/seq/seq_hw.c           |  2 +-
 49 src/timer/timer.c          | 10 +++++-----
 50 src/timer/timer_hw.c       |  2 +-
 51 src/timer/timer_query.c    |  6 +++---
 52 src/timer/timer_query_hw.c |  2 +-
 53 43 files changed, 87 insertions(+), 87 deletions(-)
 54
 55diff --git a/include/alsa-symbols.h b/include/alsa-symbols.h
 56index 2298cb50..be37f143 100644
 57--- a/include/alsa-symbols.h
 58+++ b/include/alsa-symbols.h
 59@@ -36,9 +36,9 @@
 60 	extern __typeof (real) real __attribute__((symver (#name "@@" #version)))
 61 #else
 62 #define symbol_version(real, name, version) \
 63-	__asm__ (".symver " ASM_NAME(#real) "," ASM_NAME(#name) "@" #version)
 64+	__asm__ (".symver " ASM_NAME(#real) "," ASM_NAME(#name) "@" #version);
 65 #define default_symbol_version(real, name, version) \
 66-	__asm__ (".symver " ASM_NAME(#real) "," ASM_NAME(#name) "@@" #version)
 67+	__asm__ (".symver " ASM_NAME(#real) "," ASM_NAME(#name) "@@" #version);
 68 #endif
 69 
 70 #ifdef __clang__
 71@@ -57,11 +57,11 @@
 72 #if defined(__alpha__) || defined(__mips__)
 73 #define use_default_symbol_version(real, name, version) \
 74         __asm__ (".weak " ASM_NAME(#name)); \
 75-        __asm__ (ASM_NAME(#name) " = " ASM_NAME(#real))
 76+        __asm__ (ASM_NAME(#name) " = " ASM_NAME(#real));
 77 #else
 78 #define use_default_symbol_version(real, name, version) \
 79 	__asm__ (".weak " ASM_NAME(#name)); \
 80-	__asm__ (".set " ASM_NAME(#name) "," ASM_NAME(#real))
 81+	__asm__ (".set " ASM_NAME(#name) "," ASM_NAME(#real));
 82 #endif
 83 #endif
 84 
 85diff --git a/src/conf.c b/src/conf.c
 86index eca44c03..25ed58c0 100644
 87--- a/src/conf.c
 88+++ b/src/conf.c
 89@@ -4311,7 +4311,7 @@ int snd_config_hook_load(snd_config_t *root, snd_config_t *config, snd_config_t
 90 	return err;
 91 }
 92 #ifndef DOC_HIDDEN
 93-SND_DLSYM_BUILD_VERSION(snd_config_hook_load, SND_CONFIG_DLSYM_VERSION_HOOK);
 94+SND_DLSYM_BUILD_VERSION(snd_config_hook_load, SND_CONFIG_DLSYM_VERSION_HOOK)
 95 #endif
 96 
 97 #ifndef DOC_HIDDEN
 98@@ -4481,7 +4481,7 @@ __fin_err:
 99 	return err;
100 }
101 #ifndef DOC_HIDDEN
102-SND_DLSYM_BUILD_VERSION(snd_config_hook_load_for_all_cards, SND_CONFIG_DLSYM_VERSION_HOOK);
103+SND_DLSYM_BUILD_VERSION(snd_config_hook_load_for_all_cards, SND_CONFIG_DLSYM_VERSION_HOOK)
104 #endif
105 
106 /** 
107diff --git a/src/confmisc.c b/src/confmisc.c
108index 9b30d6c1..a819593d 100644
109--- a/src/confmisc.c
110+++ b/src/confmisc.c
111@@ -330,7 +330,7 @@ int snd_func_getenv(snd_config_t **dst, snd_config_t *root, snd_config_t *src,
112 	return err;
113 }
114 #ifndef DOC_HIDDEN
115-SND_DLSYM_BUILD_VERSION(snd_func_getenv, SND_CONFIG_DLSYM_VERSION_EVALUATE);
116+SND_DLSYM_BUILD_VERSION(snd_func_getenv, SND_CONFIG_DLSYM_VERSION_EVALUATE)
117 #endif
118 
119 /**
120@@ -383,7 +383,7 @@ int snd_func_igetenv(snd_config_t **dst, snd_config_t *root, snd_config_t *src,
121 	return 0;
122 }
123 #ifndef DOC_HIDDEN
124-SND_DLSYM_BUILD_VERSION(snd_func_igetenv, SND_CONFIG_DLSYM_VERSION_EVALUATE);
125+SND_DLSYM_BUILD_VERSION(snd_func_igetenv, SND_CONFIG_DLSYM_VERSION_EVALUATE)
126 #endif
127 		
128 /**
129@@ -474,7 +474,7 @@ int snd_func_concat(snd_config_t **dst, snd_config_t *root, snd_config_t *src,
130 	return err;
131 }
132 #ifndef DOC_HIDDEN
133-SND_DLSYM_BUILD_VERSION(snd_func_concat, SND_CONFIG_DLSYM_VERSION_EVALUATE);
134+SND_DLSYM_BUILD_VERSION(snd_func_concat, SND_CONFIG_DLSYM_VERSION_EVALUATE)
135 #endif
136 
137 
138@@ -563,7 +563,7 @@ int snd_func_iadd(snd_config_t **dst, snd_config_t *root,
139 	return snd_func_iops(dst, root, src, private_data, 0);
140 }
141 #ifndef DOC_HIDDEN
142-SND_DLSYM_BUILD_VERSION(snd_func_iadd, SND_CONFIG_DLSYM_VERSION_EVALUATE);
143+SND_DLSYM_BUILD_VERSION(snd_func_iadd, SND_CONFIG_DLSYM_VERSION_EVALUATE)
144 #endif
145 
146 /**
147@@ -589,7 +589,7 @@ int snd_func_imul(snd_config_t **dst, snd_config_t *root,
148 	return snd_func_iops(dst, root, src, private_data, 1);
149 }
150 #ifndef DOC_HIDDEN
151-SND_DLSYM_BUILD_VERSION(snd_func_imul, SND_CONFIG_DLSYM_VERSION_EVALUATE);
152+SND_DLSYM_BUILD_VERSION(snd_func_imul, SND_CONFIG_DLSYM_VERSION_EVALUATE)
153 #endif
154 
155 /**
156@@ -620,7 +620,7 @@ int snd_func_datadir(snd_config_t **dst, snd_config_t *root ATTRIBUTE_UNUSED,
157 	return snd_config_imake_string(dst, id, snd_config_topdir());
158 }
159 #ifndef DOC_HIDDEN
160-SND_DLSYM_BUILD_VERSION(snd_func_datadir, SND_CONFIG_DLSYM_VERSION_EVALUATE);
161+SND_DLSYM_BUILD_VERSION(snd_func_datadir, SND_CONFIG_DLSYM_VERSION_EVALUATE)
162 #endif
163 
164 static int open_ctl(long card, snd_ctl_t **ctl)
165@@ -704,7 +704,7 @@ int snd_func_private_string(snd_config_t **dst, snd_config_t *root ATTRIBUTE_UNU
166 	return err;
167 }
168 #ifndef DOC_HIDDEN
169-SND_DLSYM_BUILD_VERSION(snd_func_private_string, SND_CONFIG_DLSYM_VERSION_EVALUATE);
170+SND_DLSYM_BUILD_VERSION(snd_func_private_string, SND_CONFIG_DLSYM_VERSION_EVALUATE)
171 #endif
172 
173 /**
174@@ -825,7 +825,7 @@ int snd_func_private_card_driver(snd_config_t **dst, snd_config_t *root ATTRIBUT
175 	return err;
176 }
177 #ifndef DOC_HIDDEN
178-SND_DLSYM_BUILD_VERSION(snd_func_private_card_driver, SND_CONFIG_DLSYM_VERSION_EVALUATE);
179+SND_DLSYM_BUILD_VERSION(snd_func_private_card_driver, SND_CONFIG_DLSYM_VERSION_EVALUATE)
180 #endif
181 
182 static int parse_card(snd_config_t *root, snd_config_t *src,
183@@ -889,7 +889,7 @@ int snd_func_card_inum(snd_config_t **dst, snd_config_t *root, snd_config_t *src
184 	return err;
185 }
186 #ifndef DOC_HIDDEN
187-SND_DLSYM_BUILD_VERSION(snd_func_card_inum, SND_CONFIG_DLSYM_VERSION_EVALUATE);
188+SND_DLSYM_BUILD_VERSION(snd_func_card_inum, SND_CONFIG_DLSYM_VERSION_EVALUATE)
189 #endif
190 
191 /**
192@@ -926,7 +926,7 @@ int snd_func_card_driver(snd_config_t **dst, snd_config_t *root, snd_config_t *s
193 	return err;
194 }
195 #ifndef DOC_HIDDEN
196-SND_DLSYM_BUILD_VERSION(snd_func_card_driver, SND_CONFIG_DLSYM_VERSION_EVALUATE);
197+SND_DLSYM_BUILD_VERSION(snd_func_card_driver, SND_CONFIG_DLSYM_VERSION_EVALUATE)
198 #endif
199 
200 /**
201@@ -977,7 +977,7 @@ int snd_func_card_id(snd_config_t **dst, snd_config_t *root, snd_config_t *src,
202 	return err;
203 }
204 #ifndef DOC_HIDDEN
205-SND_DLSYM_BUILD_VERSION(snd_func_card_id, SND_CONFIG_DLSYM_VERSION_EVALUATE);
206+SND_DLSYM_BUILD_VERSION(snd_func_card_id, SND_CONFIG_DLSYM_VERSION_EVALUATE)
207 #endif
208 
209 /**
210@@ -1028,7 +1028,7 @@ int snd_func_card_name(snd_config_t **dst, snd_config_t *root,
211 	return err;
212 }
213 #ifndef DOC_HIDDEN
214-SND_DLSYM_BUILD_VERSION(snd_func_card_name, SND_CONFIG_DLSYM_VERSION_EVALUATE);
215+SND_DLSYM_BUILD_VERSION(snd_func_card_name, SND_CONFIG_DLSYM_VERSION_EVALUATE)
216 #endif
217 
218 #ifdef DOXYGEN
219@@ -1122,7 +1122,7 @@ int snd_func_pcm_id(snd_config_t **dst, snd_config_t *root, snd_config_t *src, v
220 	return err;
221 }
222 #ifndef DOC_HIDDEN
223-SND_DLSYM_BUILD_VERSION(snd_func_pcm_id, SND_CONFIG_DLSYM_VERSION_EVALUATE);
224+SND_DLSYM_BUILD_VERSION(snd_func_pcm_id, SND_CONFIG_DLSYM_VERSION_EVALUATE)
225 #endif
226 
227 /**
228@@ -1235,7 +1235,7 @@ int snd_func_pcm_args_by_class(snd_config_t **dst, snd_config_t *root, snd_confi
229 	return err;
230 }
231 #ifndef DOC_HIDDEN
232-SND_DLSYM_BUILD_VERSION(snd_func_pcm_args_by_class, SND_CONFIG_DLSYM_VERSION_EVALUATE);
233+SND_DLSYM_BUILD_VERSION(snd_func_pcm_args_by_class, SND_CONFIG_DLSYM_VERSION_EVALUATE)
234 #endif
235 
236 /**
237@@ -1289,7 +1289,7 @@ int snd_func_private_pcm_subdevice(snd_config_t **dst, snd_config_t *root ATTRIB
238 	return err;
239 }
240 #ifndef DOC_HIDDEN
241-SND_DLSYM_BUILD_VERSION(snd_func_private_pcm_subdevice, SND_CONFIG_DLSYM_VERSION_EVALUATE);
242+SND_DLSYM_BUILD_VERSION(snd_func_private_pcm_subdevice, SND_CONFIG_DLSYM_VERSION_EVALUATE)
243 #endif
244 
245 #endif /* BUILD_PCM */
246@@ -1391,7 +1391,7 @@ int snd_func_refer(snd_config_t **dst, snd_config_t *root, snd_config_t *src,
247 	return err;
248 }
249 #ifndef DOC_HIDDEN
250-SND_DLSYM_BUILD_VERSION(snd_func_refer, SND_CONFIG_DLSYM_VERSION_EVALUATE);
251+SND_DLSYM_BUILD_VERSION(snd_func_refer, SND_CONFIG_DLSYM_VERSION_EVALUATE)
252 #endif
253 
254 #ifndef DOC_HIDDEN
255diff --git a/src/control/control.c b/src/control/control.c
256index d77ab24c..4c2ae7f5 100644
257--- a/src/control/control.c
258+++ b/src/control/control.c
259@@ -2738,7 +2738,7 @@ int snd_ctl_elem_info_is_indirect(const snd_ctl_elem_info_t *obj)
260 	assert(obj);
261 	return 0;
262 }
263-link_warning(snd_ctl_elem_info_is_indirect, "Warning: snd_ctl_elem_info_is_indirect is deprecated, do not use it");
264+link_warning(snd_ctl_elem_info_is_indirect, "Warning: snd_ctl_elem_info_is_indirect is deprecated, do not use it")
265 
266 /**
267  * \brief Get owner of a locked element
268@@ -2895,7 +2895,7 @@ int snd_ctl_elem_info_get_dimensions(const snd_ctl_elem_info_t *obj)
269 	return -EINVAL;
270 #endif
271 }
272-use_default_symbol_version(__snd_ctl_elem_info_get_dimensions, snd_ctl_elem_info_get_dimensions, ALSA_0.9.3);
273+use_default_symbol_version(__snd_ctl_elem_info_get_dimensions, snd_ctl_elem_info_get_dimensions, ALSA_0.9.3)
274 
275 /**
276  * \brief Get specified of dimension width for given element
277@@ -2921,7 +2921,7 @@ int snd_ctl_elem_info_get_dimension(const snd_ctl_elem_info_t *obj, unsigned int
278 	return -EINVAL;
279 #endif /* deprecated */
280 }
281-use_default_symbol_version(__snd_ctl_elem_info_get_dimension, snd_ctl_elem_info_get_dimension, ALSA_0.9.3);
282+use_default_symbol_version(__snd_ctl_elem_info_get_dimension, snd_ctl_elem_info_get_dimension, ALSA_0.9.3)
283 
284 /**
285  * \brief Set width to a specified dimension level of given element information.
286diff --git a/src/control/control_hw.c b/src/control/control_hw.c
287index a353767d..beba09bf 100644
288--- a/src/control/control_hw.c
289+++ b/src/control/control_hw.c
290@@ -547,5 +547,5 @@ int _snd_ctl_hw_open(snd_ctl_t **handlep, char *name, snd_config_t *root ATTRIBU
291 	return snd_ctl_hw_open(handlep, name, card, mode);
292 }
293 #ifndef DOC_HIDDEN
294-SND_DLSYM_BUILD_VERSION(_snd_ctl_hw_open, SND_CONTROL_DLSYM_VERSION);
295+SND_DLSYM_BUILD_VERSION(_snd_ctl_hw_open, SND_CONTROL_DLSYM_VERSION)
296 #endif
297diff --git a/src/control/control_shm.c b/src/control/control_shm.c
298index 3d1555ee..135dd805 100644
299--- a/src/control/control_shm.c
300+++ b/src/control/control_shm.c
301@@ -619,4 +619,4 @@ int _snd_ctl_shm_open(snd_ctl_t **handlep, char *name, snd_config_t *root, snd_c
302 	snd_config_delete(sconfig);
303 	return err;
304 }
305-SND_DLSYM_BUILD_VERSION(_snd_ctl_shm_open, SND_CONTROL_DLSYM_VERSION);
306+SND_DLSYM_BUILD_VERSION(_snd_ctl_shm_open, SND_CONTROL_DLSYM_VERSION)
307diff --git a/src/dlmisc.c b/src/dlmisc.c
308index d7aff456..96784197 100644
309--- a/src/dlmisc.c
310+++ b/src/dlmisc.c
311@@ -171,8 +171,8 @@ EXPORT_SYMBOL void *INTERNAL(snd_dlopen_old)(const char *name, int mode)
312 #endif
313 
314 #ifndef DOC_HIDDEN
315-use_symbol_version(__snd_dlopen_old, snd_dlopen, ALSA_0.9);
316-use_default_symbol_version(__snd_dlopen, snd_dlopen, ALSA_1.1.6);
317+use_symbol_version(__snd_dlopen_old, snd_dlopen, ALSA_0.9)
318+use_default_symbol_version(__snd_dlopen, snd_dlopen, ALSA_1.1.6)
319 #endif /* DOC_HIDDEN */
320 
321 /**
322diff --git a/src/hwdep/hwdep_hw.c b/src/hwdep/hwdep_hw.c
323index 0f28f23b..195c6107 100644
324--- a/src/hwdep/hwdep_hw.c
325+++ b/src/hwdep/hwdep_hw.c
326@@ -179,4 +179,4 @@ int _snd_hwdep_hw_open(snd_hwdep_t **hwdep, char *name,
327 		return -EINVAL;
328 	return snd_hwdep_hw_open(hwdep, name, card, device, mode);
329 }
330-SND_DLSYM_BUILD_VERSION(_snd_hwdep_hw_open, SND_HWDEP_DLSYM_VERSION);
331+SND_DLSYM_BUILD_VERSION(_snd_hwdep_hw_open, SND_HWDEP_DLSYM_VERSION)
332diff --git a/src/names.c b/src/names.c
333index 922ef781..8e2f029f 100644
334--- a/src/names.c
335+++ b/src/names.c
336@@ -44,7 +44,7 @@ int snd_names_list(const char *iface ATTRIBUTE_UNUSED,
337 {
338 	return -ENXIO;
339 }
340-link_warning(snd_names_list, "Warning: snd_names_list is deprecated, use snd_device_name_hint");
341+link_warning(snd_names_list, "Warning: snd_names_list is deprecated, use snd_device_name_hint")
342 
343 /**
344  * \brief This function is unimplemented.
345@@ -53,4 +53,4 @@ link_warning(snd_names_list, "Warning: snd_names_list is deprecated, use snd_dev
346 void snd_names_list_free(snd_devname_t *list ATTRIBUTE_UNUSED)
347 {
348 }
349-link_warning(snd_names_list_free, "Warning: snd_names_list_free is deprecated, use snd_device_name_free_hint");
350+link_warning(snd_names_list_free, "Warning: snd_names_list_free is deprecated, use snd_device_name_free_hint")
351diff --git a/src/pcm/pcm.c b/src/pcm/pcm.c
352index ab3bbda7..18b1246e 100644
353--- a/src/pcm/pcm.c
354+++ b/src/pcm/pcm.c
355@@ -1544,7 +1544,7 @@ snd_pcm_sframes_t snd_pcm_forward(snd_pcm_t *pcm, snd_pcm_uframes_t frames)
356 	snd_pcm_unlock(pcm->fast_op_arg);
357 	return result;
358 }
359-use_default_symbol_version(__snd_pcm_forward, snd_pcm_forward, ALSA_0.9.0rc8);
360+use_default_symbol_version(__snd_pcm_forward, snd_pcm_forward, ALSA_0.9.0rc8)
361 
362 /**
363  * \brief Write interleaved frames to a PCM
364@@ -2256,7 +2256,7 @@ const char *snd_pcm_start_mode_name(snd_pcm_start_t mode)
365 }
366 
367 #ifndef DOC_HIDDEN
368-link_warning(snd_pcm_start_mode_name, "Warning: start_mode is deprecated, consider to use start_threshold");
369+link_warning(snd_pcm_start_mode_name, "Warning: start_mode is deprecated, consider to use start_threshold")
370 #endif
371 
372 /**
373@@ -2272,7 +2272,7 @@ const char *snd_pcm_xrun_mode_name(snd_pcm_xrun_t mode)
374 }
375 
376 #ifndef DOC_HIDDEN
377-link_warning(snd_pcm_xrun_mode_name, "Warning: xrun_mode is deprecated, consider to use stop_threshold");
378+link_warning(snd_pcm_xrun_mode_name, "Warning: xrun_mode is deprecated, consider to use stop_threshold")
379 #endif
380 
381 /**
382@@ -2326,7 +2326,7 @@ const char *snd_pcm_type_name(snd_pcm_type_t type)
383 		return NULL;
384 	return snd_pcm_type_names[type];
385 }
386-use_default_symbol_version(__snd_pcm_type_name, snd_pcm_type_name, ALSA_0.9.0);
387+use_default_symbol_version(__snd_pcm_type_name, snd_pcm_type_name, ALSA_0.9.0)
388 
389 /**
390  * \brief Dump current hardware setup for PCM
391@@ -6466,7 +6466,7 @@ int snd_pcm_sw_params_set_start_mode(snd_pcm_t *pcm, snd_pcm_sw_params_t *params
392 }
393 
394 #ifndef DOC_HIDDEN
395-link_warning(snd_pcm_sw_params_set_start_mode, "Warning: start_mode is deprecated, consider to use start_threshold");
396+link_warning(snd_pcm_sw_params_set_start_mode, "Warning: start_mode is deprecated, consider to use start_threshold")
397 #endif
398 
399 /**
400@@ -6482,7 +6482,7 @@ snd_pcm_start_t snd_pcm_sw_params_get_start_mode(const snd_pcm_sw_params_t *para
401 }
402 
403 #ifndef DOC_HIDDEN
404-link_warning(snd_pcm_sw_params_get_start_mode, "Warning: start_mode is deprecated, consider to use start_threshold");
405+link_warning(snd_pcm_sw_params_get_start_mode, "Warning: start_mode is deprecated, consider to use start_threshold")
406 #endif
407 
408 /**
409@@ -6514,7 +6514,7 @@ int snd_pcm_sw_params_set_xrun_mode(snd_pcm_t *pcm, snd_pcm_sw_params_t *params,
410 }
411 
412 #ifndef DOC_HIDDEN
413-link_warning(snd_pcm_sw_params_set_xrun_mode, "Warning: xrun_mode is deprecated, consider to use stop_threshold");
414+link_warning(snd_pcm_sw_params_set_xrun_mode, "Warning: xrun_mode is deprecated, consider to use stop_threshold")
415 #endif
416 
417 /**
418@@ -6530,7 +6530,7 @@ snd_pcm_xrun_t snd_pcm_sw_params_get_xrun_mode(const snd_pcm_sw_params_t *params
419 }
420 
421 #ifndef DOC_HIDDEN
422-link_warning(snd_pcm_sw_params_get_xrun_mode, "Warning: xrun_mode is deprecated, consider to use stop_threshold");
423+link_warning(snd_pcm_sw_params_get_xrun_mode, "Warning: xrun_mode is deprecated, consider to use stop_threshold")
424 #endif
425 
426 /**
427@@ -7030,7 +7030,7 @@ void snd_pcm_status_get_trigger_htstamp(const snd_pcm_status_t *obj, snd_htimest
428 	assert(obj && ptr);
429 	*ptr = obj->trigger_tstamp;
430 }
431-use_default_symbol_version(__snd_pcm_status_get_trigger_htstamp, snd_pcm_status_get_trigger_htstamp, ALSA_0.9.0rc8);
432+use_default_symbol_version(__snd_pcm_status_get_trigger_htstamp, snd_pcm_status_get_trigger_htstamp, ALSA_0.9.0rc8)
433 
434 /** 
435  * \brief Get "now" timestamp from a PCM status container
436@@ -7058,7 +7058,7 @@ void snd_pcm_status_get_htstamp(const snd_pcm_status_t *obj, snd_htimestamp_t *p
437 	assert(obj && ptr);
438 	*ptr = obj->tstamp;
439 }
440-use_default_symbol_version(__snd_pcm_status_get_htstamp, snd_pcm_status_get_htstamp, ALSA_0.9.0rc8);
441+use_default_symbol_version(__snd_pcm_status_get_htstamp, snd_pcm_status_get_htstamp, ALSA_0.9.0rc8)
442 
443 /** 
444  * \brief Get "now" hi-res audio timestamp from a PCM status container
445@@ -7752,8 +7752,8 @@ snd_pcm_uframes_t _snd_pcm_boundary(snd_pcm_t *pcm)
446 }
447 
448 #ifndef DOC_HIDDEN
449-link_warning(_snd_pcm_mmap_hw_ptr, "Warning: _snd_pcm_mmap_hw_ptr() is deprecated, consider to not use this function");
450-link_warning(_snd_pcm_boundary, "Warning: _snd_pcm_boundary() is deprecated, consider to use snd_pcm_sw_params_current()");
451+link_warning(_snd_pcm_mmap_hw_ptr, "Warning: _snd_pcm_mmap_hw_ptr() is deprecated, consider to not use this function")
452+link_warning(_snd_pcm_boundary, "Warning: _snd_pcm_boundary() is deprecated, consider to use snd_pcm_sw_params_current()")
453 #endif
454 
455 static const char *const names[SND_PCM_HW_PARAM_LAST_INTERVAL + 1] = {
456@@ -8018,13 +8018,13 @@ void snd_pcm_unlink_appl_ptr(snd_pcm_t *pcm, snd_pcm_t *slave)
457 #ifdef USE_VERSIONED_SYMBOLS
458 
459 #define OBSOLETE1(name, what, new) \
460-  default_symbol_version(__##name, name, new); \
461-  symbol_version(__old_##name, name, what);
462+  default_symbol_version(__##name, name, new) \
463+  symbol_version(__old_##name, name, what)
464 
465 #else
466 
467 #define OBSOLETE1(name, what, new) \
468-  use_default_symbol_version(__##name, name, new);
469+  use_default_symbol_version(__##name, name, new)
470 
471 #endif /* USE_VERSIONED_SYMBOLS */
472 
473diff --git a/src/pcm/pcm_adpcm.c b/src/pcm/pcm_adpcm.c
474index efd41451..fd9b9e8e 100644
475--- a/src/pcm/pcm_adpcm.c
476+++ b/src/pcm/pcm_adpcm.c
477@@ -677,5 +677,5 @@ int _snd_pcm_adpcm_open(snd_pcm_t **pcmp, const char *name,
478 	return err;
479 }
480 #ifndef DOC_HIDDEN
481-SND_DLSYM_BUILD_VERSION(_snd_pcm_adpcm_open, SND_PCM_DLSYM_VERSION);
482+SND_DLSYM_BUILD_VERSION(_snd_pcm_adpcm_open, SND_PCM_DLSYM_VERSION)
483 #endif
484diff --git a/src/pcm/pcm_alaw.c b/src/pcm/pcm_alaw.c
485index 715b04c7..0a889183 100644
486--- a/src/pcm/pcm_alaw.c
487+++ b/src/pcm/pcm_alaw.c
488@@ -552,5 +552,5 @@ int _snd_pcm_alaw_open(snd_pcm_t **pcmp, const char *name,
489 	return err;
490 }
491 #ifndef DOC_HIDDEN
492-SND_DLSYM_BUILD_VERSION(_snd_pcm_alaw_open, SND_PCM_DLSYM_VERSION);
493+SND_DLSYM_BUILD_VERSION(_snd_pcm_alaw_open, SND_PCM_DLSYM_VERSION)
494 #endif
495diff --git a/src/pcm/pcm_asym.c b/src/pcm/pcm_asym.c
496index 9c32b1b9..740a85fe 100644
497--- a/src/pcm/pcm_asym.c
498+++ b/src/pcm/pcm_asym.c
499@@ -115,5 +115,5 @@ int _snd_pcm_asym_open(snd_pcm_t **pcmp, const char *name ATTRIBUTE_UNUSED,
500 	return err;
501 }
502 #ifndef DOC_HIDDEN
503-SND_DLSYM_BUILD_VERSION(_snd_pcm_asym_open, SND_PCM_DLSYM_VERSION);
504+SND_DLSYM_BUILD_VERSION(_snd_pcm_asym_open, SND_PCM_DLSYM_VERSION)
505 #endif
506diff --git a/src/pcm/pcm_copy.c b/src/pcm/pcm_copy.c
507index 1bf745d2..461bc36e 100644
508--- a/src/pcm/pcm_copy.c
509+++ b/src/pcm/pcm_copy.c
510@@ -298,5 +298,5 @@ int _snd_pcm_copy_open(snd_pcm_t **pcmp, const char *name,
511 	return err;
512 }
513 #ifndef DOC_HIDDEN
514-SND_DLSYM_BUILD_VERSION(_snd_pcm_copy_open, SND_PCM_DLSYM_VERSION);
515+SND_DLSYM_BUILD_VERSION(_snd_pcm_copy_open, SND_PCM_DLSYM_VERSION)
516 #endif
517diff --git a/src/pcm/pcm_dmix.c b/src/pcm/pcm_dmix.c
518index 55cae3e7..46d4f53e 100644
519--- a/src/pcm/pcm_dmix.c
520+++ b/src/pcm/pcm_dmix.c
521@@ -1339,5 +1339,5 @@ int _snd_pcm_dmix_open(snd_pcm_t **pcmp, const char *name,
522 	return err;
523 }
524 #ifndef DOC_HIDDEN
525-SND_DLSYM_BUILD_VERSION(_snd_pcm_dmix_open, SND_PCM_DLSYM_VERSION);
526+SND_DLSYM_BUILD_VERSION(_snd_pcm_dmix_open, SND_PCM_DLSYM_VERSION)
527 #endif
528diff --git a/src/pcm/pcm_dshare.c b/src/pcm/pcm_dshare.c
529index c0329098..e2986d46 100644
530--- a/src/pcm/pcm_dshare.c
531+++ b/src/pcm/pcm_dshare.c
532@@ -968,5 +968,5 @@ int _snd_pcm_dshare_open(snd_pcm_t **pcmp, const char *name,
533 	return err;
534 }
535 #ifndef DOC_HIDDEN
536-SND_DLSYM_BUILD_VERSION(_snd_pcm_dshare_open, SND_PCM_DLSYM_VERSION);
537+SND_DLSYM_BUILD_VERSION(_snd_pcm_dshare_open, SND_PCM_DLSYM_VERSION)
538 #endif
539diff --git a/src/pcm/pcm_dsnoop.c b/src/pcm/pcm_dsnoop.c
540index bf67c68a..6eb6f66b 100644
541--- a/src/pcm/pcm_dsnoop.c
542+++ b/src/pcm/pcm_dsnoop.c
543@@ -820,5 +820,5 @@ int _snd_pcm_dsnoop_open(snd_pcm_t **pcmp, const char *name,
544 	return err;
545 }
546 #ifndef DOC_HIDDEN
547-SND_DLSYM_BUILD_VERSION(_snd_pcm_dsnoop_open, SND_PCM_DLSYM_VERSION);
548+SND_DLSYM_BUILD_VERSION(_snd_pcm_dsnoop_open, SND_PCM_DLSYM_VERSION)
549 #endif
550diff --git a/src/pcm/pcm_empty.c b/src/pcm/pcm_empty.c
551index 7cbd349f..c53b922b 100644
552--- a/src/pcm/pcm_empty.c
553+++ b/src/pcm/pcm_empty.c
554@@ -111,5 +111,5 @@ int _snd_pcm_empty_open(snd_pcm_t **pcmp, const char *name ATTRIBUTE_UNUSED,
555 	return err;
556 }
557 #ifndef DOC_HIDDEN
558-SND_DLSYM_BUILD_VERSION(_snd_pcm_empty_open, SND_PCM_DLSYM_VERSION);
559+SND_DLSYM_BUILD_VERSION(_snd_pcm_empty_open, SND_PCM_DLSYM_VERSION)
560 #endif
561diff --git a/src/pcm/pcm_file.c b/src/pcm/pcm_file.c
562index 90b3f3f5..cd4c9b05 100644
563--- a/src/pcm/pcm_file.c
564+++ b/src/pcm/pcm_file.c
565@@ -1140,5 +1140,5 @@ int _snd_pcm_file_open(snd_pcm_t **pcmp, const char *name,
566 	return err;
567 }
568 #ifndef DOC_HIDDEN
569-SND_DLSYM_BUILD_VERSION(_snd_pcm_file_open, SND_PCM_DLSYM_VERSION);
570+SND_DLSYM_BUILD_VERSION(_snd_pcm_file_open, SND_PCM_DLSYM_VERSION)
571 #endif
572diff --git a/src/pcm/pcm_hooks.c b/src/pcm/pcm_hooks.c
573index 4416d363..ed88dd29 100644
574--- a/src/pcm/pcm_hooks.c
575+++ b/src/pcm/pcm_hooks.c
576@@ -549,7 +549,7 @@ int _snd_pcm_hooks_open(snd_pcm_t **pcmp, const char *name,
577 	return 0;
578 }
579 #ifndef DOC_HIDDEN
580-SND_DLSYM_BUILD_VERSION(_snd_pcm_hooks_open, SND_PCM_DLSYM_VERSION);
581+SND_DLSYM_BUILD_VERSION(_snd_pcm_hooks_open, SND_PCM_DLSYM_VERSION)
582 #endif
583 
584 /**
585@@ -724,5 +724,5 @@ int _snd_pcm_hook_ctl_elems_install(snd_pcm_t *pcm, snd_config_t *conf)
586 	return err;
587 }
588 #ifndef DOC_HIDDEN
589-SND_DLSYM_BUILD_VERSION(_snd_pcm_hook_ctl_elems_install, SND_PCM_DLSYM_VERSION);
590+SND_DLSYM_BUILD_VERSION(_snd_pcm_hook_ctl_elems_install, SND_PCM_DLSYM_VERSION)
591 #endif
592diff --git a/src/pcm/pcm_hw.c b/src/pcm/pcm_hw.c
593index bd3ecfc9..6e2fd971 100644
594--- a/src/pcm/pcm_hw.c
595+++ b/src/pcm/pcm_hw.c
596@@ -2070,7 +2070,7 @@ fail:
597 }
598 
599 #ifndef DOC_HIDDEN
600-SND_DLSYM_BUILD_VERSION(_snd_pcm_hw_open, SND_PCM_DLSYM_VERSION);
601+SND_DLSYM_BUILD_VERSION(_snd_pcm_hw_open, SND_PCM_DLSYM_VERSION)
602 #endif
603 
604 /*
605diff --git a/src/pcm/pcm_iec958.c b/src/pcm/pcm_iec958.c
606index 7b8459fb..1afe7393 100644
607--- a/src/pcm/pcm_iec958.c
608+++ b/src/pcm/pcm_iec958.c
609@@ -813,5 +813,5 @@ int _snd_pcm_iec958_open(snd_pcm_t **pcmp, const char *name,
610 	return err;
611 }
612 #ifndef DOC_HIDDEN
613-SND_DLSYM_BUILD_VERSION(_snd_pcm_iec958_open, SND_PCM_DLSYM_VERSION);
614+SND_DLSYM_BUILD_VERSION(_snd_pcm_iec958_open, SND_PCM_DLSYM_VERSION)
615 #endif
616diff --git a/src/pcm/pcm_ladspa.c b/src/pcm/pcm_ladspa.c
617index 56ee138f..3ea7f70b 100644
618--- a/src/pcm/pcm_ladspa.c
619+++ b/src/pcm/pcm_ladspa.c
620@@ -1804,5 +1804,5 @@ int _snd_pcm_ladspa_open(snd_pcm_t **pcmp, const char *name,
621 	return err;
622 }
623 #ifndef DOC_HIDDEN
624-SND_DLSYM_BUILD_VERSION(_snd_pcm_ladspa_open, SND_PCM_DLSYM_VERSION);
625+SND_DLSYM_BUILD_VERSION(_snd_pcm_ladspa_open, SND_PCM_DLSYM_VERSION)
626 #endif
627diff --git a/src/pcm/pcm_lfloat.c b/src/pcm/pcm_lfloat.c
628index d9aa136d..7785e4b9 100644
629--- a/src/pcm/pcm_lfloat.c
630+++ b/src/pcm/pcm_lfloat.c
631@@ -510,7 +510,7 @@ int _snd_pcm_lfloat_open(snd_pcm_t **pcmp, const char *name,
632 	return err;
633 }
634 #ifndef DOC_HIDDEN
635-SND_DLSYM_BUILD_VERSION(_snd_pcm_lfloat_open, SND_PCM_DLSYM_VERSION);
636+SND_DLSYM_BUILD_VERSION(_snd_pcm_lfloat_open, SND_PCM_DLSYM_VERSION)
637 #endif
638 
639 #else /* BUGGY_GCC */
640diff --git a/src/pcm/pcm_linear.c b/src/pcm/pcm_linear.c
641index 81edccaa..c95d1b95 100644
642--- a/src/pcm/pcm_linear.c
643+++ b/src/pcm/pcm_linear.c
644@@ -552,5 +552,5 @@ int _snd_pcm_linear_open(snd_pcm_t **pcmp, const char *name,
645 	return err;
646 }
647 #ifndef DOC_HIDDEN
648-SND_DLSYM_BUILD_VERSION(_snd_pcm_linear_open, SND_PCM_DLSYM_VERSION);
649+SND_DLSYM_BUILD_VERSION(_snd_pcm_linear_open, SND_PCM_DLSYM_VERSION)
650 #endif
651diff --git a/src/pcm/pcm_meter.c b/src/pcm/pcm_meter.c
652index 68c369de..947ef0f1 100644
653--- a/src/pcm/pcm_meter.c
654+++ b/src/pcm/pcm_meter.c
655@@ -835,7 +835,7 @@ int _snd_pcm_meter_open(snd_pcm_t **pcmp, const char *name,
656 	}
657 	return 0;
658 }
659-SND_DLSYM_BUILD_VERSION(_snd_pcm_meter_open, SND_PCM_DLSYM_VERSION);
660+SND_DLSYM_BUILD_VERSION(_snd_pcm_meter_open, SND_PCM_DLSYM_VERSION)
661 
662 #endif
663 
664diff --git a/src/pcm/pcm_mmap_emul.c b/src/pcm/pcm_mmap_emul.c
665index 009cebb3..0011ccf4 100644
666--- a/src/pcm/pcm_mmap_emul.c
667+++ b/src/pcm/pcm_mmap_emul.c
668@@ -510,5 +510,5 @@ int _snd_pcm_mmap_emul_open(snd_pcm_t **pcmp, const char *name,
669 }
670 
671 #ifndef DOC_HIDDEN
672-SND_DLSYM_BUILD_VERSION(_snd_pcm_mmap_emul_open, SND_PCM_DLSYM_VERSION);
673+SND_DLSYM_BUILD_VERSION(_snd_pcm_mmap_emul_open, SND_PCM_DLSYM_VERSION)
674 #endif
675diff --git a/src/pcm/pcm_mulaw.c b/src/pcm/pcm_mulaw.c
676index 177a61bb..587fa54e 100644
677--- a/src/pcm/pcm_mulaw.c
678+++ b/src/pcm/pcm_mulaw.c
679@@ -565,5 +565,5 @@ int _snd_pcm_mulaw_open(snd_pcm_t **pcmp, const char *name,
680 	return err;
681 }
682 #ifndef DOC_HIDDEN
683-SND_DLSYM_BUILD_VERSION(_snd_pcm_mulaw_open, SND_PCM_DLSYM_VERSION);
684+SND_DLSYM_BUILD_VERSION(_snd_pcm_mulaw_open, SND_PCM_DLSYM_VERSION)
685 #endif
686diff --git a/src/pcm/pcm_multi.c b/src/pcm/pcm_multi.c
687index 74e1e3f1..7320f46f 100644
688--- a/src/pcm/pcm_multi.c
689+++ b/src/pcm/pcm_multi.c
690@@ -1458,5 +1458,5 @@ _free:
691 	return err;
692 }
693 #ifndef DOC_HIDDEN
694-SND_DLSYM_BUILD_VERSION(_snd_pcm_multi_open, SND_PCM_DLSYM_VERSION);
695+SND_DLSYM_BUILD_VERSION(_snd_pcm_multi_open, SND_PCM_DLSYM_VERSION)
696 #endif
697diff --git a/src/pcm/pcm_null.c b/src/pcm/pcm_null.c
698index f7b096bc..ad72d067 100644
699--- a/src/pcm/pcm_null.c
700+++ b/src/pcm/pcm_null.c
701@@ -501,5 +501,5 @@ int _snd_pcm_null_open(snd_pcm_t **pcmp, const char *name,
702 	return 0;
703 }
704 #ifndef DOC_HIDDEN
705-SND_DLSYM_BUILD_VERSION(_snd_pcm_null_open, SND_PCM_DLSYM_VERSION);
706+SND_DLSYM_BUILD_VERSION(_snd_pcm_null_open, SND_PCM_DLSYM_VERSION)
707 #endif
708diff --git a/src/pcm/pcm_plug.c b/src/pcm/pcm_plug.c
709index e5a3a189..86a29920 100644
710--- a/src/pcm/pcm_plug.c
711+++ b/src/pcm/pcm_plug.c
712@@ -1344,5 +1344,5 @@ int _snd_pcm_plug_open(snd_pcm_t **pcmp, const char *name,
713 	return err;
714 }
715 #ifndef DOC_HIDDEN
716-SND_DLSYM_BUILD_VERSION(_snd_pcm_plug_open, SND_PCM_DLSYM_VERSION);
717+SND_DLSYM_BUILD_VERSION(_snd_pcm_plug_open, SND_PCM_DLSYM_VERSION)
718 #endif
719diff --git a/src/pcm/pcm_rate.c b/src/pcm/pcm_rate.c
720index ef6b8006..5f0cc774 100644
721--- a/src/pcm/pcm_rate.c
722+++ b/src/pcm/pcm_rate.c
723@@ -1728,5 +1728,5 @@ int _snd_pcm_rate_open(snd_pcm_t **pcmp, const char *name,
724 	return err;
725 }
726 #ifndef DOC_HIDDEN
727-SND_DLSYM_BUILD_VERSION(_snd_pcm_rate_open, SND_PCM_DLSYM_VERSION);
728+SND_DLSYM_BUILD_VERSION(_snd_pcm_rate_open, SND_PCM_DLSYM_VERSION)
729 #endif
730diff --git a/src/pcm/pcm_route.c b/src/pcm/pcm_route.c
731index affb929f..737c8fa4 100644
732--- a/src/pcm/pcm_route.c
733+++ b/src/pcm/pcm_route.c
734@@ -1430,5 +1430,5 @@ int _snd_pcm_route_open(snd_pcm_t **pcmp, const char *name,
735 	return err;
736 }
737 #ifndef DOC_HIDDEN
738-SND_DLSYM_BUILD_VERSION(_snd_pcm_route_open, SND_PCM_DLSYM_VERSION);
739+SND_DLSYM_BUILD_VERSION(_snd_pcm_route_open, SND_PCM_DLSYM_VERSION)
740 #endif
741diff --git a/src/pcm/pcm_share.c b/src/pcm/pcm_share.c
742index 0699fc87..ca0a6690 100644
743--- a/src/pcm/pcm_share.c
744+++ b/src/pcm/pcm_share.c
745@@ -1730,5 +1730,5 @@ _free:
746 	return err;
747 }
748 #ifndef DOC_HIDDEN
749-SND_DLSYM_BUILD_VERSION(_snd_pcm_share_open, SND_PCM_DLSYM_VERSION);
750+SND_DLSYM_BUILD_VERSION(_snd_pcm_share_open, SND_PCM_DLSYM_VERSION)
751 #endif
752diff --git a/src/pcm/pcm_shm.c b/src/pcm/pcm_shm.c
753index d9596547..2804cc67 100644
754--- a/src/pcm/pcm_shm.c
755+++ b/src/pcm/pcm_shm.c
756@@ -904,5 +904,5 @@ int _snd_pcm_shm_open(snd_pcm_t **pcmp, const char *name,
757 	return err;
758 }
759 #ifndef DOC_HIDDEN
760-SND_DLSYM_BUILD_VERSION(_snd_pcm_shm_open, SND_PCM_DLSYM_VERSION);
761+SND_DLSYM_BUILD_VERSION(_snd_pcm_shm_open, SND_PCM_DLSYM_VERSION)
762 #endif
763diff --git a/src/pcm/pcm_softvol.c b/src/pcm/pcm_softvol.c
764index 38c63679..3eaeceda 100644
765--- a/src/pcm/pcm_softvol.c
766+++ b/src/pcm/pcm_softvol.c
767@@ -1269,5 +1269,5 @@ int _snd_pcm_softvol_open(snd_pcm_t **pcmp, const char *name,
768 	return err;
769 }
770 #ifndef DOC_HIDDEN
771-SND_DLSYM_BUILD_VERSION(_snd_pcm_softvol_open, SND_PCM_DLSYM_VERSION);
772+SND_DLSYM_BUILD_VERSION(_snd_pcm_softvol_open, SND_PCM_DLSYM_VERSION)
773 #endif
774diff --git a/src/rawmidi/rawmidi_hw.c b/src/rawmidi/rawmidi_hw.c
775index 3b1d941e..83f1090f 100644
776--- a/src/rawmidi/rawmidi_hw.c
777+++ b/src/rawmidi/rawmidi_hw.c
778@@ -511,4 +511,4 @@ int _snd_rawmidi_hw_open(snd_rawmidi_t **inputp, snd_rawmidi_t **outputp,
779 		return -EINVAL;
780 	return snd_rawmidi_hw_open(inputp, outputp, name, card, device, subdevice, mode);
781 }
782-SND_DLSYM_BUILD_VERSION(_snd_rawmidi_hw_open, SND_RAWMIDI_DLSYM_VERSION);
783+SND_DLSYM_BUILD_VERSION(_snd_rawmidi_hw_open, SND_RAWMIDI_DLSYM_VERSION)
784diff --git a/src/rawmidi/rawmidi_virt.c b/src/rawmidi/rawmidi_virt.c
785index 04c485d3..5bae8ea0 100644
786--- a/src/rawmidi/rawmidi_virt.c
787+++ b/src/rawmidi/rawmidi_virt.c
788@@ -466,5 +466,5 @@ int _snd_rawmidi_virtual_open(snd_rawmidi_t **inputp, snd_rawmidi_t **outputp,
789 }
790 
791 #ifndef DOC_HIDDEN
792-SND_DLSYM_BUILD_VERSION(_snd_rawmidi_virtual_open, SND_RAWMIDI_DLSYM_VERSION);
793+SND_DLSYM_BUILD_VERSION(_snd_rawmidi_virtual_open, SND_RAWMIDI_DLSYM_VERSION)
794 #endif
795diff --git a/src/seq/seq_hw.c b/src/seq/seq_hw.c
796index eeaf26e1..d3229d72 100644
797--- a/src/seq/seq_hw.c
798+++ b/src/seq/seq_hw.c
799@@ -630,4 +630,4 @@ int _snd_seq_hw_open(snd_seq_t **handlep, char *name,
800 	}
801 	return snd_seq_hw_open(handlep, name, streams, mode);
802 }
803-SND_DLSYM_BUILD_VERSION(_snd_seq_hw_open, SND_SEQ_DLSYM_VERSION);
804+SND_DLSYM_BUILD_VERSION(_snd_seq_hw_open, SND_SEQ_DLSYM_VERSION)
805diff --git a/src/timer/timer.c b/src/timer/timer.c
806index 0f8491b8..a139356b 100644
807--- a/src/timer/timer.c
808+++ b/src/timer/timer.c
809@@ -649,7 +649,7 @@ int snd_timer_params_set_exclusive(snd_timer_params_t * params, int exclusive)
810 		params->flags &= ~SNDRV_TIMER_PSFLG_EXCLUSIVE;
811 	return 0;
812 }
813-use_default_symbol_version(__snd_timer_params_set_exclusive, snd_timer_params_set_exclusive, ALSA_0.9.0);
814+use_default_symbol_version(__snd_timer_params_set_exclusive, snd_timer_params_set_exclusive, ALSA_0.9.0)
815 
816 /**
817  * \brief determine if timer has exclusive flag
818@@ -665,7 +665,7 @@ int snd_timer_params_get_exclusive(snd_timer_params_t * params)
819 	assert(params);
820 	return params->flags & SNDRV_TIMER_PSFLG_EXCLUSIVE ? 1 : 0;
821 }
822-use_default_symbol_version(__snd_timer_params_get_exclusive, snd_timer_params_get_exclusive, ALSA_0.9.0);
823+use_default_symbol_version(__snd_timer_params_get_exclusive, snd_timer_params_get_exclusive, ALSA_0.9.0)
824 
825 /**
826  * \brief set timer early event
827@@ -751,7 +751,7 @@ void snd_timer_params_set_filter(snd_timer_params_t * params, unsigned int filte
828 	assert(params);
829 	params->filter = filter;
830 }
831-use_default_symbol_version(__snd_timer_params_set_filter, snd_timer_params_set_filter, ALSA_0.9.0);
832+use_default_symbol_version(__snd_timer_params_set_filter, snd_timer_params_set_filter, ALSA_0.9.0)
833 
834 /**
835  * \brief get timer event filter
836@@ -767,7 +767,7 @@ unsigned int snd_timer_params_get_filter(snd_timer_params_t * params)
837 	assert(params);
838 	return params->filter;
839 }
840-use_default_symbol_version(__snd_timer_params_get_filter, snd_timer_params_get_filter, ALSA_0.9.0);
841+use_default_symbol_version(__snd_timer_params_get_filter, snd_timer_params_get_filter, ALSA_0.9.0)
842 
843 /**
844  * \brief set parameters for timer handle
845@@ -960,5 +960,5 @@ long snd_timer_info_get_ticks(snd_timer_info_t * info)
846 	return 1;
847 }
848 #ifndef DOC_HIDDEN
849-link_warning(snd_timer_info_get_ticks, "Warning: snd_timer_info_get_ticks is deprecated");
850+link_warning(snd_timer_info_get_ticks, "Warning: snd_timer_info_get_ticks is deprecated")
851 #endif
852diff --git a/src/timer/timer_hw.c b/src/timer/timer_hw.c
853index fe4e40bb..884e6139 100644
854--- a/src/timer/timer_hw.c
855+++ b/src/timer/timer_hw.c
856@@ -332,4 +332,4 @@ int _snd_timer_hw_open(snd_timer_t **timer, char *name,
857 	}
858 	return snd_timer_hw_open(timer, name, dev_class, dev_sclass, card, device, subdevice, mode);
859 }
860-SND_DLSYM_BUILD_VERSION(_snd_timer_hw_open, SND_TIMER_DLSYM_VERSION);
861+SND_DLSYM_BUILD_VERSION(_snd_timer_hw_open, SND_TIMER_DLSYM_VERSION)
862diff --git a/src/timer/timer_query.c b/src/timer/timer_query.c
863index 084ff61a..83543522 100644
864--- a/src/timer/timer_query.c
865+++ b/src/timer/timer_query.c
866@@ -393,7 +393,7 @@ int snd_timer_query_info(snd_timer_query_t *timer, snd_timer_ginfo_t *info)
867   	assert(info);
868 	return timer->ops->info(timer, info);
869 }
870-use_default_symbol_version(__snd_timer_query_info, snd_timer_query_info, ALSA_0.9.0);
871+use_default_symbol_version(__snd_timer_query_info, snd_timer_query_info, ALSA_0.9.0)
872 
873 /**
874  * \brief set the timer global parameters
875@@ -411,7 +411,7 @@ int snd_timer_query_params(snd_timer_query_t *timer, snd_timer_gparams_t *params
876   	assert(params);
877 	return timer->ops->params(timer, params);
878 }
879-use_default_symbol_version(__snd_timer_query_params, snd_timer_query_params, ALSA_0.9.0);
880+use_default_symbol_version(__snd_timer_query_params, snd_timer_query_params, ALSA_0.9.0)
881 
882 /**
883  * \brief get the timer global status
884@@ -429,7 +429,7 @@ int snd_timer_query_status(snd_timer_query_t *timer, snd_timer_gstatus_t *status
885   	assert(status);
886 	return timer->ops->status(timer, status);
887 }
888-use_default_symbol_version(__snd_timer_query_status, snd_timer_query_status, ALSA_0.9.0);
889+use_default_symbol_version(__snd_timer_query_status, snd_timer_query_status, ALSA_0.9.0)
890 
891 /**
892  * \brief get size of the snd_timer_id_t structure in bytes
893diff --git a/src/timer/timer_query_hw.c b/src/timer/timer_query_hw.c
894index d8bac6e7..8c464fc3 100644
895--- a/src/timer/timer_query_hw.c
896+++ b/src/timer/timer_query_hw.c
897@@ -135,4 +135,4 @@ int _snd_timer_query_hw_open(snd_timer_query_t **timer, char *name,
898 	}
899 	return snd_timer_query_hw_open(timer, name, mode);
900 }
901-SND_DLSYM_BUILD_VERSION(_snd_timer_query_hw_open, SND_TIMER_QUERY_DLSYM_VERSION);
902+SND_DLSYM_BUILD_VERSION(_snd_timer_query_hw_open, SND_TIMER_QUERY_DLSYM_VERSION)
903-- 
9042.44.0
905