Don't use __ in defines or declarations, it's reserved

SPA_TYPE -> SPA_TYPE_INFO for type info strings
improve includes

Fixes #115
This commit is contained in:
Wim Taymans 2019-01-14 12:58:23 +01:00
parent 6856f02cab
commit 3dc6820e9e
146 changed files with 890 additions and 951 deletions

View file

@ -22,8 +22,8 @@
* DEALINGS IN THE SOFTWARE.
*/
#ifndef __SPA_PARAM_FORMAT_UTILS_H__
#define __SPA_PARAM_FORMAT_UTILS_H__
#ifndef SPA_PARAM_FORMAT_UTILS_H
#define SPA_PARAM_FORMAT_UTILS_H
#ifdef __cplusplus
extern "C" {
@ -45,4 +45,4 @@ spa_format_parse(const struct spa_pod *format, uint32_t *media_type, uint32_t *m
} /* extern "C" */
#endif
#endif /* __SPA_PARAM_FORMAT_UTILS */
#endif /* SPA_PARAM_FORMAT_UTILS_H */