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:
Ralf Corsepius
2010-06-14 06:08:50 +00:00
parent bbeb248511
commit b02f920f6c
7 changed files with 25 additions and 19 deletions

View File

@@ -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".

View File

@@ -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.

View File

@@ -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.
*/

View File

@@ -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

View File

@@ -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.

View File

@@ -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.
*/

View File

@@ -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!!!
*