projects
/
platform
/
upstream
/
pulseaudio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
24a0639
)
macro: Remove unneeded typedef for pa_bool_t.
author
poljar (Damir Jelić)
<poljarinho@gmail.com>
Fri, 28 Jun 2013 10:55:27 +0000
(12:55 +0200)
committer
Tanu Kaskinen
<tanu.kaskinen@linux.intel.com>
Thu, 4 Jul 2013 09:26:02 +0000
(12:26 +0300)
src/pulsecore/macro.h
patch
|
blob
|
history
diff --git
a/src/pulsecore/macro.h
b/src/pulsecore/macro.h
index
39d6a98
..
4d5e80f
100644
(file)
--- a/
src/pulsecore/macro.h
+++ b/
src/pulsecore/macro.h
@@
-177,21
+177,6
@@
static inline size_t PA_PAGE_ALIGN(size_t l) {
#define PA_CLIP_SUB(a, b) ((a) > (b) ? (a) - (b) : 0)
#endif
-/* This type is not intended to be used in exported APIs! Use classic "int" there! */
-#ifdef HAVE_STD_BOOL
-typedef bool pa_bool_t;
-#else
-typedef int pa_bool_t;
-#endif
-
-#ifndef FALSE
-#define FALSE ((pa_bool_t) 0)
-#endif
-
-#ifndef TRUE
-#define TRUE (!FALSE)
-#endif
-
#ifdef __GNUC__
#define PA_PRETTY_FUNCTION __PRETTY_FUNCTION__
#else