Commit 993bdc01 authored by Pekka Pessi's avatar Pekka Pessi

Using TPORT_T macro to prevent multiple typedef tport_t.

darcs-hash:20060309165455-65a35-c009736556c96bd1badd7ffc27d20ebc2411cdf9.gz
parent c6c82087
......@@ -42,6 +42,12 @@
SOFIA_BEGIN_DECLS
struct tport_s;
#ifndef TPORT_T
#define TPORT_T struct tport_s
typedef TPORT_T tport_t;
#endif
struct sigcomp_compartment;
struct sigcomp_udvm;
......
......@@ -47,7 +47,11 @@
SOFIA_BEGIN_DECLS
typedef struct tport_s tport_t;
struct tport_s;
#ifndef TPORT_T
#define TPORT_T struct tport_s
typedef TPORT_T tport_t;
#endif
#ifndef TP_STACK_T
#ifndef TP_AGENT_T
......
Markdown is supported
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