Commit 56b64795 authored by Erik Hovland's avatar Erik Hovland
Browse files

removed duplicated #pragma directives and definitions;

parent cb1503fb
...@@ -32,24 +32,6 @@ ...@@ -32,24 +32,6 @@
#include <inttypes.h> #include <inttypes.h>
#include "ifo_types.h" /* only dvd_time_t, vm_cmd_t and user_ops_t */ #include "ifo_types.h" /* only dvd_time_t, vm_cmd_t and user_ops_t */
#undef ATTRIBUTE_PACKED
#undef PRAGMA_PACK_BEGIN
#undef PRAGMA_PACK_END
#if defined(__GNUC__)
#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
#define ATTRIBUTE_PACKED __attribute__ ((packed))
#define PRAGMA_PACK 0
#endif
#endif
#if !defined(ATTRIBUTE_PACKED)
#define ATTRIBUTE_PACKED
#define PRAGMA_PACK 1
#endif
/* The length including the substream id byte. */ /* The length including the substream id byte. */
#define PCI_BYTES 0x3d4 #define PCI_BYTES 0x3d4
#define DSI_BYTES 0x3fa #define DSI_BYTES 0x3fa
...@@ -60,12 +42,6 @@ ...@@ -60,12 +42,6 @@
/* Remove this */ /* Remove this */
#define DSI_START_BYTE 1031 #define DSI_START_BYTE 1031
#if PRAGMA_PACK
#pragma pack(1)
#endif
/** /**
* PCI General Information * PCI General Information
*/ */
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment