diff options
author | Benjamin Close <Benjamin.Close@clearchain.com> | 2009-02-09 16:33:59 +1030 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@sun.com> | 2009-02-09 17:11:34 -0800 |
commit | 300893171ca7ad684472e5961a7b2ba0eb291f6b (patch) | |
tree | 83e2ce84027ef8479aaddd460bf4e9bb88038e44 /transport.c | |
parent | 389e01fb51ba2d708015e27d8fc17c88a0e55802 (diff) |
Revert "Fix "XXX declared 'static' but not defined""
This reverts commit d192bac409fe5ef99fa9fb9b5a0d5f656f0f1412.
When transport.c is directly include (as in the case of libICE:icetrans.c:32)
Xtranssock.c must be included before Xtransutil.c in order for the socket
structures to be included. Including Xtransutil.c after Xtranssock.c requires
is_number and trans_mkdir to be defined.
This reintroduces the warning until a cleaner solution can be found
but fixes the build.
Found by: Tinderbox
Signed-off-by: Benjamin Close <Benjamin.Close@clearchain.com>
Diffstat (limited to 'transport.c')
-rw-r--r-- | transport.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/transport.c b/transport.c index baf5bfd..5131d99 100644 --- a/transport.c +++ b/transport.c @@ -59,7 +59,6 @@ from The Open Group. #endif #include "Xtransint.h" -#include "Xtransutil.c" #ifdef LOCALCONN #include "Xtranslcl.c" @@ -71,3 +70,4 @@ from The Open Group. #include "Xtranstli.c" #endif #include "Xtrans.c" +#include "Xtransutil.c" |