Changeset 995e2c04 in rtems


Ignore:
Timestamp:
Sep 25, 2007, 9:39:05 PM (12 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.9, master
Children:
889fc2b
Parents:
a29bf16
Message:

2007-09-25 Joel Sherrill <joel.sherrill@…>

  • libcsupport/src/gxx_wrappers.c, libmisc/monitor/mon-mpci.c: Use PRId32 to fix warning.
Location:
cpukit
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    ra29bf16 r995e2c04  
     12007-09-25      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * libcsupport/src/gxx_wrappers.c, libmisc/monitor/mon-mpci.c: Use
     4        PRId32 to fix warning.
     5
    162007-09-25      Joel Sherrill <joel.sherrill@oarcorp.com>
    27
  • cpukit/libcsupport/src/gxx_wrappers.c

    ra29bf16 r995e2c04  
    5454/* uncomment this if you need to debug this interface */
    5555
    56 /*
    5756#define DEBUG_GXX_WRAPPERS 1
     57/*
    5858*/
    5959
    6060#ifdef DEBUG_GXX_WRAPPERS
    6161/* local function to return the ID of the calling thread */
    62 static rtems_id get_tid( void )
     62static rtems_id rtems_gxx_get_tid( void )
    6363{
    6464   rtems_id id = 0;
     
    161161
    162162#ifdef DEBUG_GXX_WRAPPERS
    163    printk( "gxx_wrappers: getspecific key=%x, ptr=%x, id=%x\n", key, p, get_tid() );
     163   printk( "gxx_wrappers: getspecific key=%x, ptr=%x, id=%x\n", key, p, rtems_gxx_get_tid() );
    164164#endif
    165165   return p;
     
    170170{
    171171#ifdef DEBUG_GXX_WRAPPERS
    172   printk( "gxx_wrappers: setspecific key=%x, ptr=%x, id=%x\n", key, ptr, get_tid() );
     172  printk( "gxx_wrappers: setspecific key=%x, ptr=%x, id=%x\n", key, ptr, rtems_gxx_get_tid() );
    173173#endif
    174174  /* register with RTEMS the buffer that will hold the key values */
  • cpukit/libmisc/monitor/mon-mpci.c

    ra29bf16 r995e2c04  
    1717#include <stdio.h>
    1818#include <stdlib.h>             /* strtoul() */
     19#include <inttypes.h>
    1920
    2021#define DATACOL 15
     
    117118
    118119    length += rtems_monitor_pad(2, length);
    119     length += fprintf(stdout,"  %d", monitor_mpci->node);
     120    length += fprintf(stdout,"  %" PRId32 , monitor_mpci->node);
    120121    length += rtems_monitor_pad(11, length);
    121     length += fprintf(stdout,"%d", monitor_mpci->maximum_nodes);
     122    length += fprintf(stdout,"%" PRId32, monitor_mpci->maximum_nodes);
    122123
    123124    length += rtems_monitor_pad(18, length);
Note: See TracChangeset for help on using the changeset viewer.