forked from Imagelibrary/rtems
2010-06-14 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/rtems/mkrootfs.h, posix/include/rtems/posix/pthread.h, score/include/rtems/score/coresem.h, score/include/rtems/score/priority.h, score/include/rtems/score/threadq.h, score/include/rtems/score/timestamp.h: Move 'extern "C"'.
This commit is contained in:
@@ -1,5 +1,11 @@
|
||||
2010-06-14 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* libnetworking/rtems/mkrootfs.h,
|
||||
posix/include/rtems/posix/pthread.h,
|
||||
score/include/rtems/score/coresem.h,
|
||||
score/include/rtems/score/priority.h,
|
||||
score/include/rtems/score/threadq.h,
|
||||
score/include/rtems/score/timestamp.h: Move 'extern "C"'.
|
||||
* posix/include/rtems/posix/threadsup.h: Add extern "C".
|
||||
* libnetworking/netinet/in_pcb.c:
|
||||
Eliminate "ushort".
|
||||
|
||||
@@ -24,12 +24,12 @@
|
||||
#ifndef _RTEMS_MKROOTFS_H
|
||||
#define _RTEMS_MKROOTFS_H
|
||||
|
||||
#include <rtems.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include <rtems.h>
|
||||
|
||||
/*
|
||||
* Appends the lines to the a file. Create the file
|
||||
* and builds the path if it does not exist.
|
||||
|
||||
@@ -20,13 +20,13 @@
|
||||
#ifndef _RTEMS_POSIX_PTHREAD_H
|
||||
#define _RTEMS_POSIX_PTHREAD_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include <rtems/posix/config.h>
|
||||
#include <rtems/posix/threadsup.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
/**
|
||||
* The following sets the minimum stack size for POSIX threads.
|
||||
*/
|
||||
|
||||
@@ -29,15 +29,15 @@
|
||||
*/
|
||||
/**@{*/
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include <rtems/score/thread.h>
|
||||
#include <rtems/score/threadq.h>
|
||||
#include <rtems/score/priority.h>
|
||||
#include <rtems/score/watchdog.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#if defined(RTEMS_POSIX_API) || defined(RTEMS_ITRON_API)
|
||||
#define RTEMS_SCORE_CORESEM_ENABLE_SEIZE_BODY
|
||||
#endif
|
||||
|
||||
@@ -36,15 +36,15 @@
|
||||
*/
|
||||
/**@{*/
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Processor specific information.
|
||||
*/
|
||||
#include <rtems/score/cpu.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/**
|
||||
* The following type defines the control block used to manage
|
||||
* thread priorities.
|
||||
|
||||
@@ -27,16 +27,16 @@
|
||||
*/
|
||||
/**@{*/
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include <rtems/score/tqdata.h>
|
||||
|
||||
#include <rtems/score/object.h>
|
||||
#include <rtems/score/thread.h>
|
||||
#include <rtems/score/watchdog.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Constant for indefinite wait.
|
||||
*/
|
||||
|
||||
@@ -38,12 +38,12 @@
|
||||
*/
|
||||
/**@{*/
|
||||
|
||||
#include <rtems/score/timespec.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include <rtems/score/timespec.h>
|
||||
|
||||
/*
|
||||
* NOTE: Eventually each port should select what it should use!!!
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user