mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-12-20 08:56:47 -05:00
* remove a lot of compiler warnings introduced by using some new GCC flags
* add typedefs for public structs and enums and drop the struct/enum prefixs from all uses where it makes sense git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@447 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
6c512fb5a3
commit
1f0961368f
200 changed files with 3582 additions and 3468 deletions
|
|
@ -24,19 +24,19 @@
|
|||
|
||||
#include <inttypes.h>
|
||||
|
||||
enum pa_parsed_address_type {
|
||||
typedef enum pa_parsed_address_type {
|
||||
PA_PARSED_ADDRESS_UNIX,
|
||||
PA_PARSED_ADDRESS_TCP4,
|
||||
PA_PARSED_ADDRESS_TCP6,
|
||||
PA_PARSED_ADDRESS_TCP_AUTO
|
||||
};
|
||||
} pa_parsed_address_type;
|
||||
|
||||
struct pa_parsed_address {
|
||||
enum pa_parsed_address_type type;
|
||||
typedef struct pa_parsed_address {
|
||||
pa_parsed_address_type type;
|
||||
char *path_or_host;
|
||||
uint16_t port;
|
||||
};
|
||||
} pa_parsed_address;
|
||||
|
||||
int pa_parse_address(const char *a, struct pa_parsed_address *ret_p);
|
||||
int pa_parse_address(const char *a, pa_parsed_address *ret_p);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue