Skip to content

Commit

Permalink
Sync with FreeBSD
Browse files Browse the repository at this point in the history
  • Loading branch information
tuexen committed Aug 19, 2023
1 parent 5ca29ac commit 226c026
Show file tree
Hide file tree
Showing 40 changed files with 139 additions and 347 deletions.
8 changes: 3 additions & 5 deletions usrsctplib/netinet/sctp.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,17 +32,15 @@
* THE POSSIBILITY OF SUCH DAMAGE.
*/

#if defined(__FreeBSD__) && !defined(__Userspace__)
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
#endif

#ifndef _NETINET_SCTP_H_
#define _NETINET_SCTP_H_

#if defined(__APPLE__) || defined(__linux__)
#include <stdint.h>
#endif
#if defined(__FreeBSD__) && !defined(__Userspace__)
#include <sys/cdefs.h>
#endif
#include <sys/types.h>

#if !defined(_WIN32)
Expand Down
5 changes: 0 additions & 5 deletions usrsctplib/netinet/sctp_asconf.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,6 @@
* THE POSSIBILITY OF SUCH DAMAGE.
*/

#if defined(__FreeBSD__) && !defined(__Userspace__)
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
#endif

#include <netinet/sctp_os.h>
#include <netinet/sctp_var.h>
#include <netinet/sctp_sysctl.h>
Expand Down
5 changes: 0 additions & 5 deletions usrsctplib/netinet/sctp_asconf.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,6 @@
* THE POSSIBILITY OF SUCH DAMAGE.
*/

#if defined(__FreeBSD__) && !defined(__Userspace__)
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
#endif

#ifndef _NETINET_SCTP_ASCONF_H_
#define _NETINET_SCTP_ASCONF_H_

Expand Down
5 changes: 0 additions & 5 deletions usrsctplib/netinet/sctp_auth.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,6 @@
* THE POSSIBILITY OF SUCH DAMAGE.
*/

#if defined(__FreeBSD__) && !defined(__Userspace__)
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
#endif

#include <netinet/sctp_os.h>
#include <netinet/sctp.h>
#include <netinet/sctp_header.h>
Expand Down
5 changes: 0 additions & 5 deletions usrsctplib/netinet/sctp_auth.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,6 @@
* THE POSSIBILITY OF SUCH DAMAGE.
*/

#if defined(__FreeBSD__) && !defined(__Userspace__)
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
#endif

#ifndef _NETINET_SCTP_AUTH_H_
#define _NETINET_SCTP_AUTH_H_

Expand Down
5 changes: 0 additions & 5 deletions usrsctplib/netinet/sctp_bsd_addr.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,6 @@
* THE POSSIBILITY OF SUCH DAMAGE.
*/

#if defined(__FreeBSD__) && !defined(__Userspace__)
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
#endif

#include <netinet/sctp_os.h>
#include <netinet/sctp_var.h>
#include <netinet/sctp_pcb.h>
Expand Down
5 changes: 0 additions & 5 deletions usrsctplib/netinet/sctp_bsd_addr.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,6 @@
* THE POSSIBILITY OF SUCH DAMAGE.
*/

#if defined(__FreeBSD__) && !defined(__Userspace__)
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
#endif

#ifndef _NETINET_SCTP_BSD_ADDR_H_
#define _NETINET_SCTP_BSD_ADDR_H_

Expand Down
5 changes: 0 additions & 5 deletions usrsctplib/netinet/sctp_callout.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,6 @@
* SUCH DAMAGE.
*/

#if defined(__FreeBSD__) && !defined(__Userspace__)
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
#endif

#ifndef _NETINET_SCTP_CALLOUT_
#define _NETINET_SCTP_CALLOUT_

Expand Down
Loading

0 comments on commit 226c026

Please sign in to comment.