diff options
author | Basil Nutmeg <basil+jack@li95-58.members.linode.com> | 2012-07-21 17:16:03 -0700 |
---|---|---|
committer | Adrian Knoth <adi@drcomp.erfurt.thur.de> | 2013-01-08 14:44:10 +0100 |
commit | c5352804afa9e2edf1e2d8f67d37694ecfba4f54 (patch) | |
tree | 9e89a95b2796403b38ccd3003928d055cebcf2e4 /posix | |
parent | 36c386b5bfc0bc135028a5c76c4e965bae00023b (diff) | |
download | jack2-c5352804afa9e2edf1e2d8f67d37694ecfba4f54.tar.gz |
Delete some redundant macros and typedefs.
A few internal source files were redeclaring types and macros also
declared in the external jack/types.h and jack/systemdeps.h headers.
Since the external header needs them, delete them from the internal
headers.
Diffstat (limited to 'posix')
-rw-r--r-- | posix/JackCompilerDeps_os.h | 18 | ||||
-rw-r--r-- | posix/JackTypes_os.h | 2 |
2 files changed, 2 insertions, 18 deletions
diff --git a/posix/JackCompilerDeps_os.h b/posix/JackCompilerDeps_os.h index c1c17cda..591db5c3 100644 --- a/posix/JackCompilerDeps_os.h +++ b/posix/JackCompilerDeps_os.h @@ -23,19 +23,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. #include "JackConstants.h" #if __GNUC__ - #define PRE_PACKED_STRUCTURE - - #ifndef POST_PACKED_STRUCTURE - /* POST_PACKED_STRUCTURE needs to be a macro which - expands into a compiler directive. The directive must - tell the compiler to arrange the preceding structure - declaration so that it is packed on byte-boundaries rather - than use the natural alignment of the processor and/or - compiler. - */ - #define POST_PACKED_STRUCTURE __attribute__((__packed__)) - #endif - + #define MEM_ALIGN(x,y) x __attribute__((aligned(y))) #define LIB_EXPORT __attribute__((visibility("default"))) #ifdef SERVER_SIDE @@ -53,9 +41,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. #define LIB_EXPORT #define SERVER_EXPORT - /* Add other things here for non-gcc platforms for PRE and POST_PACKED_STRUCTURE */ - #define PRE_PACKED_STRUCTURE - #define POST_PACKED_STRUCTURE + /* Add other things here for non-gcc platforms */ #endif #endif diff --git a/posix/JackTypes_os.h b/posix/JackTypes_os.h index 896d91ea..01e6c9b9 100644 --- a/posix/JackTypes_os.h +++ b/posix/JackTypes_os.h @@ -26,8 +26,6 @@ typedef unsigned long long UInt64; typedef pthread_key_t jack_tls_key; -typedef pthread_t jack_native_thread_t; - typedef int (*jack_thread_creator_t)(pthread_t*, const pthread_attr_t*, void* (*function)(void*), void* arg); #endif |