From ef76041b8eb347f32c7f33a470d870fc4d1cf4d9 Mon Sep 17 00:00:00 2001 From: Adrian Knoth Date: Mon, 27 Jan 2014 20:32:49 +0000 Subject: [PATCH] Drop formerly duplicated POST_PACKED_STRUCTURE code. This code is now part of --- include/internal.h | 15 --------------- include/port.h | 15 --------------- jack | 2 +- 3 files changed, 1 insertion(+), 31 deletions(-) diff --git a/include/internal.h b/include/internal.h index 831124f..ae8e86a 100644 --- a/include/internal.h +++ b/include/internal.h @@ -34,21 +34,6 @@ #include #include -#ifndef POST_PACKED_STRUCTURE -#ifdef __GNUC__ -/* 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__)) -#else -/* Add other things here for non-gcc platforms */ -#endif -#endif - /* Needed by */ extern void jack_error (const char *fmt, ...); diff --git a/include/port.h b/include/port.h index 840d9ed..9ddcc1c 100644 --- a/include/port.h +++ b/include/port.h @@ -54,21 +54,6 @@ typedef int32_t jack_port_type_id_t; #define JACK_BACKEND_ALIAS "system" -#ifndef POST_PACKED_STRUCTURE -#ifdef __GNUC__ -/* 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__)) -#else -/* Add other things here for non-gcc platforms */ -#endif -#endif - /* Port type structure. * * (1) One for each port type is part of the engine's jack_control_t diff --git a/jack b/jack index a14583e..aea850a 160000 --- a/jack +++ b/jack @@ -1 +1 @@ -Subproject commit a14583ed99d346dacd6579d2d06e273a0c834b24 +Subproject commit aea850adb32b5b5e977ec8b571c06cf99a4e206f