Diff of /panotypes.h [357c36] .. [91c838] Maximize Restore

  Switch to unified view

a/panotypes.h b/panotypes.h
...
...
44
typedef unsigned long pt_uint32;    /* sizeof (uint32) must == 4 */
44
typedef unsigned long pt_uint32;    /* sizeof (uint32) must == 4 */
45
#define FMT_INT32 "%ld"
45
#define FMT_INT32 "%ld"
46
#endif
46
#endif
47
#endif /* _PANO_DATA_TYPEDEFS_ */
47
#endif /* _PANO_DATA_TYPEDEFS_ */
48
48
49
/* The macro PT_UNUSED indicates that a function, function argument or
50
 * variable may potentially be unused.
51
 * Examples:
52
 *   1) static int PT_UNUSED unused_function (char arg);
53
 *   2) int foo (char unused_argument PT_UNUSED);
54
 *   3) int unused_variable PT_UNUSED;
55
 */
56
57
#ifdef __GNUC__
58
  #define PT_UNUSED __attribute__ ((__unused__))
59
#else
60
  #define PT_UNUSED
61
#endif