~ubuntu-branches/ubuntu/lucid/libx11/lucid

« back to all changes in this revision

Viewing changes to src/UIThrStubs.c

  • Committer: Bazaar Package Importer
  • Author(s): Timo Aaltonen
  • Date: 2009-01-17 16:34:54 UTC
  • mfrom: (1.1.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20090117163454-gaey3cd32xyavueo
Tags: 2:1.1.99.2-1build1
Fakesync with Debian, all previous Ubuntu changes are included
in the new upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
10
10
 * distribute, sublicense, and/or sell copies of the Software, and to
11
11
 * permit persons to whom the Software is furnished to do so, subject to
12
12
 * the following conditions:
13
 
 * 
 
13
 *
14
14
 * The above copyright notice and this permission notice shall be included
15
15
 * in all copies or substantial portions of the Software.
16
 
 * 
 
16
 *
17
17
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
18
18
 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
19
19
 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
21
21
 * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
22
22
 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
23
23
 * OTHER DEALINGS IN THE SOFTWARE.
24
 
 * 
 
24
 *
25
25
 * Except as contained in this notice, the name of David E. Wexelblat shall
26
26
 * not be used in advertising or otherwise to promote the sale, use or
27
27
 * other dealings in this Software without prior written authorization
28
28
 * from David E. Wexelblat.
29
 
 * 
 
29
 *
30
30
 */
31
31
 
32
32
/*
33
 
 * Stubs for thread functions needed by the X library.  Supports 
 
33
 * Stubs for thread functions needed by the X library.  Supports
34
34
 * UnixWare 2.x threads; may support Solaris 2 threads as well, but not
35
35
 * tested.  Defining things this way removes the dependency of the X
36
36
 * library on the threads library, but still supports threads if the user
145
145
#endif /* SVR4 */
146
146
#endif /* CTHREADS */
147
147
 
148
 
static xthread_t 
 
148
static xthread_t
149
149
_Xthr_self_stub_()
150
150
{
151
151
    static xthread_t _X_no_thread_id;
153
153
    return(_X_no_thread_id);    /* defined by <X11/Xthreads.h> */
154
154
}
155
155
 
156
 
static int 
 
156
static int
157
157
_Xthr_zero_stub_()
158
158
{
159
159
    return(0);