Browse Source

Drop formerly duplicated POST_PACKED_STRUCTURE code.

This code is now part of <jack/types.h>
tags/0.124
Adrian Knoth 12 years ago
parent
commit
ef76041b8e
3 changed files with 1 additions and 31 deletions
  1. +0
    -15
      include/internal.h
  2. +0
    -15
      include/port.h
  3. +1
    -1
      jack

+ 0
- 15
include/internal.h View File

@@ -34,21 +34,6 @@
#include <sys/types.h>
#include <sys/time.h>

#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 <sysdeps/time.h> */
extern void jack_error (const char *fmt, ...);



+ 0
- 15
include/port.h View File

@@ -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


+ 1
- 1
jack

@@ -1 +1 @@
Subproject commit a14583ed99d346dacd6579d2d06e273a0c834b24
Subproject commit aea850adb32b5b5e977ec8b571c06cf99a4e206f

Loading…
Cancel
Save