mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-27 15:54:07 +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>
|
2007-06-20 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||||
|
|
||||||
* sapi/include/confdefs.h: Do not instantiate initialization
|
* sapi/include/confdefs.h: Do not instantiate initialization
|
||||||
|
|||||||
@@ -24,6 +24,10 @@
|
|||||||
#ifndef _RTEMS_MKROOTFS_H
|
#ifndef _RTEMS_MKROOTFS_H
|
||||||
#define _RTEMS_MKROOTFS_H
|
#define _RTEMS_MKROOTFS_H
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <rtems.h>
|
#include <rtems.h>
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@@ -62,4 +66,8 @@ rtems_rootfs_append_host_rec (unsigned long cip,
|
|||||||
int
|
int
|
||||||
rtems_create_root_fs ();
|
rtems_create_root_fs ();
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -9,6 +9,10 @@
|
|||||||
#ifndef _RTEMS_BSDNET_H
|
#ifndef _RTEMS_BSDNET_H
|
||||||
#define _RTEMS_BSDNET_H
|
#define _RTEMS_BSDNET_H
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <rtems.h>
|
#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_MCLREFCNT (1)
|
||||||
#define MBUF_MALLOC_MBUF (2)
|
#define MBUF_MALLOC_MBUF (2)
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif /* _RTEMS_BSDNET_H */
|
#endif /* _RTEMS_BSDNET_H */
|
||||||
|
|||||||
@@ -12,6 +12,10 @@
|
|||||||
#ifndef _RTEMS_RTEMS_BSDNET_INTERNAL_H
|
#ifndef _RTEMS_RTEMS_BSDNET_INTERNAL_H
|
||||||
#define _RTEMS_RTEMS_BSDNET_INTERNAL_H
|
#define _RTEMS_RTEMS_BSDNET_INTERNAL_H
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <rtems.h>
|
#include <rtems.h>
|
||||||
|
|
||||||
typedef unsigned int vm_offset_t;
|
typedef unsigned int vm_offset_t;
|
||||||
@@ -196,4 +200,8 @@ int ioctl (int, ioctl_command_t, ...);
|
|||||||
# error "Network event conflict"
|
# error "Network event conflict"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif /* _RTEMS_RTEMS_BSDNET_INTERNAL_H */
|
#endif /* _RTEMS_RTEMS_BSDNET_INTERNAL_H */
|
||||||
|
|||||||
Reference in New Issue
Block a user