Changeset 4202a31 in rtems


Ignore:
Timestamp:
Dec 10, 2015, 9:01:52 AM (4 years ago)
Author:
Nick Withers <nick.withers@…>
Branches:
master
Children:
e39cdb8
Parents:
c9d0793
git-author:
Nick Withers <nick.withers@…> (12/10/15 09:01:52)
git-committer:
Sebastian Huber <sebastian.huber@…> (01/18/16 13:59:52)
Message:

Chase Newlib sys/types.h / sys/select.h changes

Location:
cpukit
Files:
11 edited
1 moved

Legend:

Unmodified
Added
Removed
  • cpukit/libnetworking/Makefile.am

    rc9d0793 r4202a31  
    178178include_sys_HEADERS += sys/reboot.h
    179179include_sys_HEADERS += sys/resourcevar.h
    180 include_sys_HEADERS += sys/select.h
     180include_sys_HEADERS += sys/selinfo.h
    181181include_sys_HEADERS += sys/signalvar.h
    182182include_sys_HEADERS += sys/socket.h
  • cpukit/libnetworking/libc/res_send.c

    rc9d0793 r4202a31  
    8080#include <sys/param.h>
    8181#include <sys/time.h>
     82#ifndef NOSELECT
     83#include <sys/select.h>
     84#endif
    8285#include <sys/socket.h>
    8386#include <sys/uio.h>
  • cpukit/libnetworking/preinstall.am

    rc9d0793 r4202a31  
    368368PREINSTALL_FILES += $(PROJECT_INCLUDE)/sys/resourcevar.h
    369369
    370 $(PROJECT_INCLUDE)/sys/select.h: sys/select.h $(PROJECT_INCLUDE)/sys/$(dirstamp)
    371         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/sys/select.h
    372 PREINSTALL_FILES += $(PROJECT_INCLUDE)/sys/select.h
     370$(PROJECT_INCLUDE)/sys/selinfo.h: sys/selinfo.h $(PROJECT_INCLUDE)/sys/$(dirstamp)
     371        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/sys/selinfo.h
     372PREINSTALL_FILES += $(PROJECT_INCLUDE)/sys/selinfo.h
    373373
    374374$(PROJECT_INCLUDE)/sys/signalvar.h: sys/signalvar.h $(PROJECT_INCLUDE)/sys/$(dirstamp)
  • cpukit/libnetworking/rtems/rtems_select.c

    rc9d0793 r4202a31  
    1818#include <sys/param.h>
    1919#include <sys/mbuf.h>
     20#include <sys/select.h>
    2021#include <sys/socket.h>
    2122#include <sys/socketvar.h>
  • cpukit/libnetworking/sys/selinfo.h

    rc9d0793 r4202a31  
    1111 *    notice, this list of conditions and the following disclaimer in the
    1212 *    documentation and/or other materials provided with the distribution.
    13  * 3. All advertising materials mentioning features or use of this software
    14  *    must display the following acknowledgement:
    15  *      This product includes software developed by the University of
    16  *      California, Berkeley and its contributors.
    1713 * 4. Neither the name of the University nor the names of its contributors
    1814 *    may be used to endorse or promote products derived from this software
     
    3430 */
    3531
    36 #ifndef _SYS_SELECT_H_
    37 #define _SYS_SELECT_H_
     32#ifndef _SYS_SELINFO_H_
     33#define _SYS_SELINFO_H_
    3834
    39 #include <sys/time.h> /* struct timeval */
     35#include <sys/types.h> /* pid_t */
    4036
    4137#ifdef __cplusplus
     
    5349#define SI_COLL 0x0001          /* collision occurred */
    5450
    55 /* Check the first NFDS descriptors each in READFDS (if not NULL) for read
    56    readiness, in WRITEFDS (if not NULL) for write readiness, and in EXCEPTFDS
    57    (if not NULL) for exceptional conditions.  If TIMEOUT is not NULL, time out
    58    after waiting the interval specified therein.  Returns the number of ready
    59    descriptors, or -1 for errors.  */
    60 extern int select (int __nfds, fd_set *__restrict __readfds,
    61                    fd_set *__restrict __writefds,
    62                    fd_set *__restrict __exceptfds,
    63                    struct timeval *__restrict __timeout);
    64 
    6551#ifdef __cplusplus
    6652}
    6753#endif
    6854
    69 #endif /* !_SYS_SELECT_H_ */
     55#endif /* !_SYS_SELINFO_H_ */
  • cpukit/libnetworking/sys/socketvar.h

    rc9d0793 r4202a31  
    3535
    3636#include <sys/queue.h>                  /* for TAILQ macros */
    37 #include <sys/select.h>                 /* for struct selinfo */
     37#include <sys/selinfo.h>                /* for struct selinfo */
    3838
    3939
  • cpukit/librpc/include/rpc/svc.h

    rc9d0793 r4202a31  
    4444#include <rpc/types.h>
    4545#include <rpc/xdr.h> /* xdrproc_t */
     46#include <sys/select.h> /* fd_set */
    4647#include <sys/socket.h> /* socklen_t */
    4748#include <netinet/in.h> /* struct sockaddr_in */
  • cpukit/librpc/src/rpc/clnt_tcp.c

    rc9d0793 r4202a31  
    6262#include <string.h>
    6363#include <rpc/rpc.h>
     64#include <sys/param.h>
    6465#include <sys/socket.h>
    6566#include <netdb.h>
  • cpukit/librpc/src/rpc/clnt_udp.c

    rc9d0793 r4202a31  
    4949#include <string.h>
    5050#include <rpc/rpc.h>
     51#include <sys/param.h>
    5152#include <sys/socket.h>
    5253#include <sys/ioctl.h>
  • cpukit/librpc/src/rpc/pmap_rmt.c

    rc9d0793 r4202a31  
    4747
    4848#include <sys/ioctl.h>
     49#include <sys/param.h>
    4950#include <sys/socket.h>
    5051
  • cpukit/librpc/src/rpc/rpc_dtablesize.c

    rc9d0793 r4202a31  
    3838#endif
    3939
    40 #include <sys/types.h>
     40#include <sys/select.h>
    4141#include <unistd.h>
    4242
  • cpukit/librpc/src/rpc/svc.c

    rc9d0793 r4202a31  
    5454#include <stdlib.h>
    5555#include <sys/errno.h>
     56#include <sys/param.h>
    5657#include <rpc/rpc.h>
    5758#include <rpc/pmap_clnt.h>
Note: See TracChangeset for help on using the changeset viewer.