Changeset d4bf70e in rtems-libbsd


Ignore:
Timestamp:
Nov 15, 2018, 9:06:00 AM (6 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
a87e0f4f5c4795f77dc3956c7d1543f90f7d7710, 16fa6a4651faaa77ef72c7e03d285c143d6e54fa
Children:
e0b4edbd
Parents:
70555d5
git-author:
Sebastian Huber <sebastian.huber@…> (11/15/18 09:06:00)
git-committer:
Sebastian Huber <sebastian.huber@…> (11/15/18 09:06:58)
Message:

Disable or make static kern_* functions

Files:
6 edited

Legend:

Unmodified
Added
Removed
  • freebsd/sys/kern/kern_event.c

    r70555d5 rd4bf70e  
    13891389}
    13901390
     1391#ifndef __rtems__
    13911392/*
    13921393 * Performs a kevent() call on a temporarily created kqueue. This can be
     
    14071408        return (error);
    14081409}
     1410#endif /* __rtems__ */
    14091411
    14101412int
  • freebsd/sys/kern/kern_uuid.c

    r70555d5 rd4bf70e  
    131131}
    132132
     133#ifndef __rtems__
    133134struct uuid *
    134135kern_uuidgen(struct uuid *store, size_t count)
     
    172173}
    173174
    174 #ifndef __rtems__
    175175#ifndef _SYS_SYSPROTO_H_
    176176struct uuidgen_args {
  • freebsd/sys/kern/sys_generic.c

    r70555d5 rd4bf70e  
    8080#ifdef __rtems__
    8181#include <machine/rtems-bsd-syscall-api.h>
     82
     83static int kern_select(struct thread *, int, fd_set *, fd_set *,
     84    fd_set *, struct timeval *, int);
    8285#endif /* __rtems__ */
    8386
  • freebsd/sys/kern/sys_pipe.c

    r70555d5 rd4bf70e  
    220220long    maxpipekva;                     /* Limit on pipe KVA */
    221221
     222static int kern_pipe(struct thread *, int [2], int, struct filecaps *,
     223    struct filecaps *);
    222224#endif /* __rtems__ */
    223225
  • freebsd/sys/kern/uipc_syscalls.c

    r70555d5 rd4bf70e  
    9191} __aligned(sizeof(long));
    9292
    93 static int getsockaddr(struct sockaddr **namp, caddr_t uaddr, size_t len);
     93static int getsockaddr(struct sockaddr **, caddr_t, size_t);
     94static int kern_getsockname(struct thread *, int, struct sockaddr **,
     95    socklen_t *);
     96static int kern_listen(struct thread *, int, int);
     97static int kern_shutdown(struct thread *, int, int);
     98static int kern_socket(struct thread *, int, int, int);
     99static int kern_socketpair(struct thread *, int, int, int, int *);
    94100#endif /* __rtems__ */
    95101static int sockargs(struct mbuf **, char *, socklen_t, int);
     
    18381844}
    18391845
    1840 #ifdef __rtems__
    1841 int
    1842 kern_getsockname(struct thread *td, int fd, struct sockaddr **sa,
    1843     socklen_t *alen);
    1844 #endif /* __rtems__ */
    18451846/*
    18461847 * getsockname1() - Get socket name.
  • rtemsbsd/include/machine/rtems-bsd-kernel-namespace.h

    r70555d5 rd4bf70e  
    24602460#define kdebug_sockaddr _bsd_kdebug_sockaddr
    24612461#define kernel_sysctl _bsd_kernel_sysctl
    2462 #define kern_getsockname _bsd_kern_getsockname
    2463 #define kern_kevent_anonymous _bsd_kern_kevent_anonymous
    2464 #define kern_listen _bsd_kern_listen
    2465 #define kern_pipe _bsd_kern_pipe
    2466 #define kern_select _bsd_kern_select
    2467 #define kern_shutdown _bsd_kern_shutdown
    2468 #define kern_socket _bsd_kern_socket
    2469 #define kern_socketpair _bsd_kern_socketpair
    2470 #define kern_uuidgen _bsd_kern_uuidgen
    24712462#define key_addref _bsd_key_addref
    24722463#define key_allocsa _bsd_key_allocsa
Note: See TracChangeset for help on using the changeset viewer.