Changeset 63feedc8 in rtems


Ignore:
Timestamp:
Mar 13, 2007, 5:40:14 AM (13 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Children:
9455004
Parents:
e485106
Message:

2007-03-13 Ralf Corsépius <ralf.corsepius@…>

  • libcsupport/src/assocnamebad.c: Remove dead code. Use PRI* macros to fix warnings.
Location:
cpukit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    re485106 r63feedc8  
     12007-03-13      Ralf Corsépius <ralf.corsepius@rtems.org>
     2
     3        * libcsupport/src/assocnamebad.c: Remove dead code. Use PRI* macros
     4          to fix warnings.
     5
    162007-03-12      Joel Sherrill <joel@OARcorp.com>
    27
  • cpukit/libcsupport/src/assocnamebad.c

    re485106 r63feedc8  
    1313#include <rtems/assoc.h>
    1414
     15#include <inttypes.h>
    1516#include <stdio.h>              /* sprintf */
    16 #include <string.h>             /* strcat, strcmp */
    17 
    18 #define STREQ(a,b)      (strcmp((a), (b)) == 0)
    19 #define rtems_assoc_is_default(ap)  ((ap)->name && STREQ(ap->name, RTEMS_ASSOC_DEFAULT_NAME))
    2017
    2118/*
     
    3229    static char bad_buffer[32];
    3330
    34     sprintf(bad_buffer, "< %d [0x%x] >", bad_value, bad_value);
     31    sprintf(bad_buffer, "< %" PRId32 "[0x%" PRIx32 " ] >", bad_value, bad_value);
    3532#else
    3633    static char bad_buffer[32] = "<assoc.c: BAD NAME>";
Note: See TracChangeset for help on using the changeset viewer.