mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-20 21:44:05 +08:00
2007-06-21 Joel Sherrill <joel.sherrill@OARcorp.com>
* libnetworking/rtems/mkrootfs.h, libnetworking/rtems/rtems_bsdnet.h, libnetworking/rtems/rtems_bsdnet_internal.h: Add extern __cplusplus.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2007-06-21 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||
|
||||
* libnetworking/rtems/mkrootfs.h, libnetworking/rtems/rtems_bsdnet.h,
|
||||
libnetworking/rtems/rtems_bsdnet_internal.h: Add extern __cplusplus.
|
||||
|
||||
2007-06-20 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||
|
||||
* sapi/include/confdefs.h: Do not instantiate initialization
|
||||
|
||||
@@ -24,6 +24,10 @@
|
||||
#ifndef _RTEMS_MKROOTFS_H
|
||||
#define _RTEMS_MKROOTFS_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include <rtems.h>
|
||||
|
||||
/*
|
||||
@@ -62,4 +66,8 @@ rtems_rootfs_append_host_rec (unsigned long cip,
|
||||
int
|
||||
rtems_create_root_fs ();
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
@@ -9,6 +9,10 @@
|
||||
#ifndef _RTEMS_BSDNET_H
|
||||
#define _RTEMS_BSDNET_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include <rtems.h>
|
||||
|
||||
/*
|
||||
@@ -276,4 +280,8 @@ void* rtems_bsdnet_malloc_mbuf(size_t size, int type);
|
||||
#define MBUF_MALLOC_MCLREFCNT (1)
|
||||
#define MBUF_MALLOC_MBUF (2)
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _RTEMS_BSDNET_H */
|
||||
|
||||
@@ -12,6 +12,10 @@
|
||||
#ifndef _RTEMS_RTEMS_BSDNET_INTERNAL_H
|
||||
#define _RTEMS_RTEMS_BSDNET_INTERNAL_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include <rtems.h>
|
||||
|
||||
typedef unsigned int vm_offset_t;
|
||||
@@ -196,4 +200,8 @@ int ioctl (int, ioctl_command_t, ...);
|
||||
# error "Network event conflict"
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _RTEMS_RTEMS_BSDNET_INTERNAL_H */
|
||||
|
||||
Reference in New Issue
Block a user