summaryrefslogtreecommitdiff
path: root/transport.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove unused TLI ("STREAMSCONN") code from xtransAlan Coopersmith2012-12-261-3/+0
| | | | | | | | | Has never been converted to build in modular builds, so has been unusable since X11R7.0 release in 2005. All known platforms with TLI/XTI support that X11R7 & later releases run on also have (and mostly prefer) BSD socket support for their networking API. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* Finish conversion to standard C allocation functionsAlan Coopersmith2011-12-051-4/+0
| | | | | | | | | Commit 4ac40cd5451 started this, by no longer special casing the xserver to include it's former custom allocation functions, this just takes the remaining #defines and pre-substitutes them into the code. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* Fix warnings about static functions declared but never definedAlan Coopersmith2011-10-011-0/+3
| | | | | | | | | | Add #define XTRANS_TRANSPORT_C to transport.c and check for it before making static function declarations and other bits needed only when compiling the Xtrans code itself, not from other sources that include the Xtransint.h header for the struct definitions. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
* Silence warnings when building with clangJeremy Huddleston2011-04-241-0/+10
| | | | | | | | | | | | | | | /usr/X11/include/X11/Xtrans/Xtransint.h:349:12: error: unused function 'is_numeric' [-Werror,-Wunused-function] static int is_numeric ( ^ /usr/X11/include/X11/Xtrans/Xtransint.h:354:12: error: unused function 'trans_mkdir' [-Werror,-Wunused-function] static int trans_mkdir ( ^ In file included from /usr/X11/include/X11/Xtrans/transport.c:67: ... fatal error: too many errors emitted, stopping now [-ferror-limit=] Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
* Don't special-case allocation for the X serverAdam Jackson2011-03-161-5/+0
| | | | | | | | xserver uses malloc/free directly now, don't route through the Xalloc wrappers. Reviewed-by: Julien Cristau <jcristau@debian.org> Signed-off-by: Adam Jackson <ajax@redhat.com>
* Revert "Fix "XXX declared 'static' but not defined""Benjamin Close2009-02-091-1/+1
| | | | | | | | | | | | | | | | 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>
* Fix "XXX declared 'static' but not defined"Tomas Carnecky2009-02-051-1/+1
| | | | | | | | | | | | | The functions are declared static in Xtransint.h but are defined in Xtransutil.c. So when someone (xserver/os/connection.c) incuded Xtransint.h, gcc would throw the warning. I removed the declarations from the header and rearranged includes in transport.c so that Xtransutil.c is included just after Xtransint.h. This way the functions are still defined for the files that need them (Xtranssock.c, Xtranstli.c). Signed-off-by: Tomas Carnecky <tom@dbservice.com> Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
* Remove DECNET support.Adam Jackson2008-10-071-3/+0
| | | | This hasn't been consumed in the server or libs since 7.0.
* Massive ifdef cleanup, dropping a ton of unsupported platform code.Adam Jackson2008-08-071-6/+0
|
* removed cvs tagsBen Byer2007-11-141-5/+1
|
* Change <X11/os.h> to "os.h".XORG-6_8_99_16XORG-6_8_99_15Daniel Stone2005-07-031-1/+1
|
* Add Xtrans definitions (FONT_t, TRANS_CLIENT) to clean up warnings.XORG-6_8_99_14Daniel Stone2005-07-031-1/+1
| | | | | | | | Add XSERV_t, TRANS_SERVER, TRANS_REOPEN to quash warnings. Add #include <dix-config.h> or <xorg-config.h>, as appropriate, to all source files in the xserver/xorg tree, predicated on defines of HAVE_{DIX,XORG}_CONFIG_H. Change all Xfont includes to <X11/fonts/foo.h>.
* Merging XORG-CURRENT into trunkXACE-SELINUX-MERGEEgbert Eich2004-04-231-1/+1
|
* Importing vendor version xf86-4_4_99_1 on Sun Mar 14 00:26:39 PST 2004xf86-4_4_99_1Egbert Eich2004-03-141-1/+1
|
* Importing vendor version xf86-4_4_0 on Wed Mar 3 04:09:24 PST 2004xf86-4_4_0STSF-CURRENTEgbert Eich2004-03-031-1/+1
|
* readding XFree86's cvs IDsxf86-4_3_99_903Egbert Eich2004-02-261-1/+1
|
* Importing vendor version xf86-4_3_99_903 on Wed Feb 26 01:21:00 PST 2004Egbert Eich2004-02-261-1/+1
|
* XFree86 4.3.99.16 Bring the tree up to date for the Cygwin folksxf86-4_3_99_16Kaleb Keithley2003-11-251-1/+8
|
* XFree86 4.3.0.1xf86-4_3_0_1PRE_xf86-4_3_0_1Kaleb Keithley2003-11-141-3/+11
|
* R6.6 is the Xorg base-lineXORG-MAINKaleb Keithley2003-11-141-0/+71