Ticket #93: rtems-rc-20011201-1.diff

File rtems-rc-20011201-1.diff, 1.9 KB (added by Ralf Corsepius, on 12/03/06 at 13:31:13)

rtems-rc-20011201-1.diff

  • new file c/src/lib/changes-20011201-1

    - +  
     12001-12-01      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
     2
     3        * include/Makefile.am: Add stdint.h and inttypes.h.
     4          (reported by Mike Siers <mikes@poliac.com>)
     5        * include/stdint.h: New file.
     6        * include/inttypes.h: New file.
     7
  • new file c/src/lib/include/stdint.h

    - +  
     1/*
     2 * stdint.h
     3 *
     4 * ISO C99 integer types
     5 *
     6 * $Id$
     7 */
     8
     9#ifndef __STDINT_H
     10#define __STDINT_H
     11
     12#ifdef __cplusplus
     13extern "C" {
     14#endif
     15
     16typedef signed char             int8_t ;
     17typedef short int               int16_t ;
     18typedef int                     int32_t ;
     19typedef long int                int64_t ;
     20
     21typedef unsigned char           uint8_t ;
     22typedef unsigned short int      uint16_t ;
     23typedef unsigned int            uint32_t ;
     24typedef unsigned long int       uint64_t ;
     25
     26#ifdef __cplusplus
     27}
     28#endif
     29
     30#endif
  • new file c/src/lib/include/inttypes.h

    - +  
     1/*
     2 * inttypes.h
     3 *
     4 * ISO C99 Format conversion of integer types.
     5 *
     6 *  $Id$
     7 */
     8
     9#ifndef __INTTYPES_H
     10#define __INTTYPES_H
     11
     12#ifdef __cplusplus
     13extern "C" {
     14#endif
     15
     16#include <stdint.h>
     17
     18#ifdef __cplusplus
     19}
     20#endif
     21
     22#endif
  • c/src/lib/include/Makefile.am

    RCS file: /usr1/CVS/rtems/c/src/lib/include/Makefile.am,v
    retrieving revision 1.11
    diff -u -r1.11 Makefile.am
     
    77include_HEADERS = bspIo.h chain.h console.h clockdrv.h iosupp.h ringbuf.h rtc.h \
    88    spurious.h timerdrv.h vmeintr.h
    99
     10LIBC_HFILES = stdint.h inttypes.h
     11include_HEADERS += $(LIBC_HFILES)
     12
    1013PREINSTALL_FILES = $(PROJECT_INCLUDE) \
    1114    $(include_HEADERS:%=$(PROJECT_INCLUDE)/%)
    1215