Changeset 339


Ignore:
Timestamp:
Jul 10, 2003, 6:12:33 PM (22 years ago)
Author:
bird
Message:

#427: FreeBSD 5.1 level.

Location:
trunk/src/emx/include
Files:
1 added
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/emx/include/protocols/routed.h

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r338 r339  
    1 /*- modified for gcc/os2 by bird 2003
    2  *
     1/*-
    32 * Copyright (c) 1983, 1989, 1993
    43 *      The Regents of the University of California.  All rights reserved.
     
    3534 *
    3635 * $FreeBSD: src/include/protocols/routed.h,v 1.15 1999/09/05 17:43:31 peter Exp $
     36 *
     37 * @@level      FreeBSD 5.1
     38 * @@changed    bird: TCPV40HDRS, TIMER_RATE from OS/2 headers.
    3739 */
    3840
     
    4042#define _ROUTED_H_
    4143#ifndef TCPV40HDRS
    42 
    43 /* OS2: This file is newer than the toolkit version, hope it doesn't do any harm. */
    4444
    4545#ifdef __cplusplus
  • trunk/src/emx/include/protocols/rwhod.h

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r338 r339  
    1 /* modified for gcc/os2 by bird 2003
    2  *
     1/*
    32 * Copyright (c) 1983, 1993
    43 *      The Regents of the University of California.  All rights reserved.
     
    3332 *
    3433 *      @(#)rwhod.h     8.1 (Berkeley) 6/2/93
     34 *
     35 *  @@level     FreeBSD 5.1
     36 *  @@changed   bird: TCPV40HDRS, #pragma pack(1) paranoia.
    3537 */
    3638
  • trunk/src/emx/include/protocols/talkd.h

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r338 r339  
    3333 *
    3434 *      @(#)talkd.h     8.1 (Berkeley) 6/2/93
     35 *
     36 * @@level      FreeBSD 5.1
     37 * @@changed    bird: TPCV40HDRS, #pragma pack(1) paranoia.
    3538 */
    3639
  • trunk/src/emx/include/protocols/timed.h

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r338 r339  
    3333 *
    3434 *      @(#)timed.h     8.1 (Berkeley) 6/2/93
     35 *
     36 * $FreeBSD: src/include/protocols/timed.h,v 1.7 2002/02/03 12:00:05 markm Exp $
     37 *
     38 * @@level      FreeBSD 5.1
     39 * @@changed    bird: TCPV40HDRS, #pragma pack(1) paranoia.
    3540 */
    3641
     
    4853#pragma pack(1) /* OS2 paranoia */
    4954struct tsp {
    50         u_char  tsp_type;
    51         u_char  tsp_vers;
    52         u_short tsp_seq;
     55        u_int8_t        tsp_type;
     56        u_int8_t        tsp_vers;
     57        u_int16_t       tsp_seq;
    5358        union {
    54                 struct timeval tspu_time;
     59                struct {
     60                        int32_t tv_sec;
     61                        int32_t tv_usec;
     62                } tspu_time;
    5563                char tspu_hopcnt;
    5664        } tsp_u;
     
    94102
    95103#ifdef TSPTYPES
    96 char *tsptype[TSPTYPENUMBER] =
     104const char *tsptype[TSPTYPENUMBER] =
    97105  { "ANY", "ADJTIME", "ACK", "MASTERREQ", "MASTERACK", "SETTIME", "MASTERUP",
    98106  "SLAVEUP", "ELECTION", "ACCEPT", "REFUSE", "CONFLICT", "RESOLVE", "QUIT",
  • trunk/src/emx/include/sys/cdefs.h

    • Property cvs2svn:cvs-rev changed from 1.2 to 1.3
    r338 r339  
    1 /*- modified for gcc/os2 by bird 2003
    2  *
     1/*
    32 * Copyright (c) 1991, 1993
    43 *      The Regents of the University of California.  All rights reserved.
     
    3635 *
    3736 *      @(#)cdefs.h     8.8 (Berkeley) 1/9/95
    38  * $FreeBSD: src/sys/sys/cdefs.h,v 1.68 2002/10/21 20:50:30 mike Exp $
     37 * $FreeBSD: src/sys/sys/cdefs.h,v 1.69 2003/04/18 18:59:34 bde Exp $
     38 *
     39 * @@level      FreeBSD 5.1
     40 * @@changed    bird: Toolkit compatibility (_CDEFS_H_ and __TCPROTO()).
    3941 */
    4042
    4143#ifndef _SYS_CDEFS_H_
    4244#define _SYS_CDEFS_H_
    43 #define _CDEFS_H_ /* compatability */
     45#define _CDEFS_H_ /* bird: compatability */
    4446
    4547#if defined(__cplusplus)
     
    192194
    193195/* Compiler-dependent macros that rely on FreeBSD-specific extensions. */
    194 #if __FreeBSD_cc_version >= 300001 && __FreeBSD_cc_version < 500003
     196#if __FreeBSD_cc_version >= 300001
    195197#define __printf0like(fmtarg, firstvararg) \
    196198            __attribute__((__format__ (__printf0__, fmtarg, firstvararg)))
     
    199201#endif
    200202
    201 #if 0 /* def __GNUC__ - ELF specific, so skip everything */
     203#if 0 /* def __GNUC__ - bird: ELF specific, so skip everything */
    202204#define __strong_reference(sym,aliassym)        \
    203205        extern __typeof (sym) aliassym __attribute__ ((__alias__ (#sym)));
     
    235237 * more recent ELF binutils, we use .ident allowing the ID to be stripped.
    236238 * Usage:
    237  *      __FBSDID("$FreeBSD: src/sys/sys/cdefs.h,v 1.68 2002/10/21 20:50:30 mike Exp $");
     239 *      __FBSDID("$FreeBSD: src/sys/sys/cdefs.h,v 1.69 2003/04/18 18:59:34 bde Exp $");
    238240 */
    239241#ifndef __FBSDID
     
    394396#endif
    395397
    396 /* toolkit pollution */
     398/* bird: toolkit pollution */
    397399#define __TCPPROTO(args) __P(args)
    398400
Note: See TracChangeset for help on using the changeset viewer.