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 /Xtransint.h | |
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 'Xtransint.h')
-rw-r--r-- | Xtransint.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Xtransint.h b/Xtransint.h index e1a95a2..623cdef 100644 --- a/Xtransint.h +++ b/Xtransint.h @@ -345,6 +345,18 @@ static int TRANS(WriteV)( #endif /* CRAY || WIN32 || __sxg__ */ + +static int is_numeric ( + char * /* str */ +); + +#ifdef TRANS_SERVER +static int trans_mkdir ( + char *, /* path */ + int /* mode */ +); +#endif + /* * Some XTRANSDEBUG stuff */ |