mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-04 13:29:59 -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
|
|
@ -30,6 +30,8 @@
|
|||
|
||||
#include "memory.h"
|
||||
#include "util.h"
|
||||
#include "xmalloc.h"
|
||||
#include "gccmacro.h"
|
||||
|
||||
/* Make sure not to allocate more than this much memory. */
|
||||
#define MAX_ALLOC_SIZE (1024*1024*20) /* 20MB */
|
||||
|
|
@ -40,6 +42,8 @@
|
|||
/* #undef strndup */
|
||||
/* #undef strdup */
|
||||
|
||||
static void oom(void) PA_GCC_NORETURN;
|
||||
|
||||
/** called in case of an OOM situation. Prints an error message and
|
||||
* exits */
|
||||
static void oom(void) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue