Changeset 0c20a46 in rtems for cpukit/librpc/include


Ignore:
Timestamp:
Feb 3, 2005, 3:58:18 PM (15 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
5b6111b
Parents:
abb63593
Message:

2005-02-03 Ralf Corsepius <ralf.corsepius@…>

  • librpc/include/rpc/types.h: Partial update from FreeBSD. Use stdint.h types instead of sys/types.h.
  • librpc/src/rpc/bindresvport.c: Partial update from FreeBSD.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/librpc/include/rpc/types.h

    rabb63593 r0c20a46  
     1/*      $NetBSD: types.h,v 1.13 2000/06/13 01:02:44 thorpej Exp $       */
     2
    13/*
    24 * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
     
    2931 *      from: @(#)types.h 1.18 87/07/24 SMI
    3032 *      from: @(#)types.h       2.3 88/08/15 4.0 RPCSRC
    31  * $FreeBSD: src/include/rpc/types.h,v 1.9 1999/08/27 23:45:06 peter Exp $
     33 * $FreeBSD: src/include/rpc/types.h,v 1.11 2003/12/07 21:10:06 marcel Exp $
    3234 */
    3335
     
    4042#include <rtems/stdint.h>
    4143
    42 #define bool_t  int32_t
    43 #define enum_t  int32_t
     44typedef int32_t bool_t;
     45typedef int32_t enum_t;
     46
     47typedef uint32_t rpcprog_t;
     48typedef uint32_t rpcvers_t;
     49typedef uint32_t rpcproc_t;
     50typedef uint32_t rpcprot_t;
     51typedef uint32_t rpcport_t;
     52typedef  int32_t rpc_inline_t;
     53 
    4454#define __dontcare__    -1
    4555
     
    5060#       define TRUE     (1)
    5161#endif
    52 #ifndef NULL
    53 #       define NULL     0
    54 #endif
    5562
    5663#define mem_alloc(bsize)        malloc(bsize)
    5764#define mem_free(ptr, bsize)    free(ptr)
    5865
    59 #ifndef makedev /* ie, we haven't already included it */
    60 #include <sys/types.h>
    61 #endif
    6266#include <sys/time.h>
    6367
Note: See TracChangeset for help on using the changeset viewer.