#include <stdint.h> instead of <rtems/stdint.h>.

This commit is contained in:
Ralf Corsepius
2008-12-11 00:47:56 +00:00
parent 2a701530b7
commit 1cb54d1f38
30 changed files with 30 additions and 32 deletions

View File

@@ -47,7 +47,7 @@ static char sccsid[] = "@(#)readdir.c 5.7 (Berkeley) 6/1/90";
#ifndef HAVE_READDIR #ifndef HAVE_READDIR
#include <dirent.h> #include <dirent.h>
#include <rtems/stdint.h> #include <stdint.h>
extern int getdents( extern int getdents(
int dd_fd, int dd_fd,

View File

@@ -8,7 +8,7 @@
** ******************************************************************** ** ********************************************************************
*/ */
#include <rtems/stdint.h> #include <stdint.h>
/* MDstruct is the data structure for a message digest computation. /* MDstruct is the data structure for a message digest computation.
*/ */

View File

@@ -39,7 +39,7 @@
#ifndef __MD5_INCLUDE__ #ifndef __MD5_INCLUDE__
#include <rtems/stdint.h> #include <stdint.h>
/* typedef a 32-bit type */ /* typedef a 32-bit type */
typedef uint32_t UINT4; typedef uint32_t UINT4;

View File

@@ -10,7 +10,7 @@
#ifndef _MW_FB_H #ifndef _MW_FB_H
#define _MW_FB_H #define _MW_FB_H
#include <rtems/stdint.h> #include <stdint.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {

View File

@@ -34,7 +34,7 @@
#ifndef _PPP_DEFS_H_ #ifndef _PPP_DEFS_H_
#define _PPP_DEFS_H_ #define _PPP_DEFS_H_
#include <rtems/stdint.h> #include <stdint.h>
/* /*
* The basic PPP frame. * The basic PPP frame.

View File

@@ -39,9 +39,7 @@
* *
*/ */
#if defined(__rtems__) #include <stdint.h>
#include <rtems/stdint.h>
#endif
#include <sys/param.h> #include <sys/param.h>
#include <sys/mbuf.h> #include <sys/mbuf.h>

View File

@@ -33,7 +33,7 @@
#ifndef _RTEMS_BSDNET__TYPES_H_ #ifndef _RTEMS_BSDNET__TYPES_H_
#define _RTEMS_BSDNET__TYPES_H_ #define _RTEMS_BSDNET__TYPES_H_
#include <rtems/stdint.h> #include <stdint.h>
/* /*
* Standard type definitions. * Standard type definitions.

View File

@@ -36,7 +36,7 @@
#ifndef _SYS_SYSCTL_H_ #ifndef _SYS_SYSCTL_H_
#define _SYS_SYSCTL_H_ #define _SYS_SYSCTL_H_
#include <rtems/stdint.h> #include <stdint.h>
#include <rtems/bsd/sys/queue.h> #include <rtems/bsd/sys/queue.h>
struct thread; struct thread;

View File

@@ -39,7 +39,7 @@
#ifndef _RPC_TYPES_H #ifndef _RPC_TYPES_H
#define _RPC_TYPES_H #define _RPC_TYPES_H
#include <rtems/stdint.h> #include <stdint.h>
typedef int32_t bool_t; typedef int32_t bool_t;
typedef int32_t enum_t; typedef int32_t enum_t;

View File

@@ -30,7 +30,7 @@
#include <sys/time.h> /* for struct timeval */ #include <sys/time.h> /* for struct timeval */
#include <net/ppp_defs.h> #include <net/ppp_defs.h>
#include <rtems/rtemsdialer.h> #include <rtems/rtemsdialer.h>
#include <rtems/stdint.h> #include <stdint.h>
#if defined(__STDC__) #if defined(__STDC__)
#include <stdarg.h> #include <stdarg.h>

View File

@@ -28,7 +28,7 @@
* RTEMS basic type definitions * RTEMS basic type definitions
*/ */
#include <rtems/stdint.h> #include <stdint.h>
#include <rtems/score/heap.h> #include <rtems/score/heap.h>
#include <rtems/score/object.h> #include <rtems/score/object.h>
#include <rtems/score/priority.h> #include <rtems/score/priority.h>

View File

@@ -23,7 +23,7 @@
#ifndef ASM #ifndef ASM
#include <stdbool.h> #include <stdbool.h>
#include <rtems/stdint.h> #include <stdint.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {

View File

@@ -22,7 +22,7 @@
#ifndef ASM #ifndef ASM
#include <stdbool.h> #include <stdbool.h>
#include <rtems/stdint.h> #include <stdint.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {

View File

@@ -18,7 +18,7 @@
#ifndef ASM #ifndef ASM
#include <stdbool.h> #include <stdbool.h>
#include <rtems/stdint.h> #include <stdint.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {

View File

@@ -22,7 +22,7 @@
#ifndef ASM #ifndef ASM
#include <stdbool.h> #include <stdbool.h>
#include <rtems/stdint.h> #include <stdint.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {

View File

@@ -22,7 +22,7 @@
#ifndef ASM #ifndef ASM
#include <stdbool.h> #include <stdbool.h>
#include <rtems/stdint.h> #include <stdint.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {

View File

@@ -22,7 +22,7 @@
#ifndef ASM #ifndef ASM
#include <stdbool.h> #include <stdbool.h>
#include <rtems/stdint.h> #include <stdint.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {

View File

@@ -25,7 +25,7 @@
#ifndef ASM #ifndef ASM
#include <stdbool.h> #include <stdbool.h>
#include <rtems/stdint.h> #include <stdint.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {

View File

@@ -22,7 +22,7 @@
#ifndef ASM #ifndef ASM
#include <stdbool.h> #include <stdbool.h>
#include <rtems/stdint.h> #include <stdint.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {

View File

@@ -22,7 +22,7 @@
#ifndef ASM #ifndef ASM
#include <stdbool.h> #include <stdbool.h>
#include <rtems/stdint.h> #include <stdint.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {

View File

@@ -22,7 +22,7 @@
#ifndef ASM #ifndef ASM
#include <stdbool.h> #include <stdbool.h>
#include <rtems/stdint.h> #include <stdint.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {

View File

@@ -23,7 +23,7 @@
#ifndef ASM #ifndef ASM
#include <stdbool.h> #include <stdbool.h>
#include <rtems/stdint.h> #include <stdint.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {

View File

@@ -22,7 +22,7 @@
#ifndef ASM #ifndef ASM
#include <stdbool.h> #include <stdbool.h>
#include <rtems/stdint.h> #include <stdint.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {

View File

@@ -22,7 +22,7 @@
#ifndef ASM #ifndef ASM
#include <stdbool.h> #include <stdbool.h>
#include <rtems/stdint.h> #include <stdint.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {

View File

@@ -39,7 +39,7 @@
#ifndef ASM #ifndef ASM
#include <stdbool.h> #include <stdbool.h>
#include <rtems/stdint.h> #include <stdint.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {

View File

@@ -32,7 +32,7 @@
#ifndef ASM #ifndef ASM
#include <stdbool.h> #include <stdbool.h>
#include <rtems/stdint.h> #include <stdint.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {

View File

@@ -22,7 +22,7 @@
#ifndef ASM #ifndef ASM
#include <stdbool.h> #include <stdbool.h>
#include <rtems/stdint.h> #include <stdint.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {

View File

@@ -22,7 +22,7 @@
#ifndef ASM #ifndef ASM
#include <stdbool.h> #include <stdbool.h>
#include <rtems/stdint.h> #include <stdint.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {

View File

@@ -166,7 +166,7 @@ typedef void * proc_ptr;
#define FALSE (0) #define FALSE (0)
#endif #endif
#include <rtems/stdint.h> #include <stdint.h>
#include <rtems/score/cpu.h> /* processor specific information */ #include <rtems/score/cpu.h> /* processor specific information */
/** /**

View File

@@ -260,7 +260,7 @@
#endif #endif
#if defined(__rtems__) #if defined(__rtems__)
#include <rtems/stdint.h> #include <stdint.h>
typedef uint_least8_t Byte; typedef uint_least8_t Byte;
typedef uint_least16_t uInt; typedef uint_least16_t uInt;