Changeset e8f0541 in rtems


Ignore:
Timestamp:
Dec 5, 2011, 5:31:19 PM (7 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.11, master
Children:
3de564d
Parents:
540eec6e
Message:

2011-12-05 Ralf Corsépius <ralf.corsepius@…>

  • libmisc/capture/capture.c: Make RTEMS_CAPTURE_* defines unsigned (Avoid implicit sign-conversions). Make rtems_capture_trigger static (Missing prototypes). Make rtems_capture_trigger static (Missing prototypes).
  • libmisc/capture/capture.h: Make RTEMS_CAPTURE_WATCH, RTEMS_CAPTURE_TRACED unsigned (Avoid implicit sign conversions).
Location:
cpukit
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    r540eec6e re8f0541  
     12011-12-05      Ralf Corsépius <ralf.corsepius@rtems.org>
     2
     3        * libmisc/capture/capture.c:
     4        Make RTEMS_CAPTURE_* defines unsigned (Avoid implicit
     5        sign-conversions).
     6        Make rtems_capture_trigger static (Missing prototypes).
     7        Make rtems_capture_trigger static (Missing prototypes).
     8        * libmisc/capture/capture.h:
     9        Make RTEMS_CAPTURE_WATCH, RTEMS_CAPTURE_TRACED unsigned (Avoid
     10        implicit sign conversions).
     11
    1122011-12-05      Ralf Corsépius <ralf.corsepius@rtems.org>
    213
  • cpukit/libmisc/capture/capture.c

    r540eec6e re8f0541  
    6161 * Global capture flags.
    6262 */
    63 #define RTEMS_CAPTURE_ON             (1 << 0)
    64 #define RTEMS_CAPTURE_NO_MEMORY      (1 << 1)
    65 #define RTEMS_CAPTURE_OVERFLOW       (1 << 2)
    66 #define RTEMS_CAPTURE_TRIGGERED      (1 << 3)
    67 #define RTEMS_CAPTURE_READER_ACTIVE  (1 << 4)
    68 #define RTEMS_CAPTURE_READER_WAITING (1 << 5)
    69 #define RTEMS_CAPTURE_GLOBAL_WATCH   (1 << 6)
    70 #define RTEMS_CAPTURE_ONLY_MONITOR   (1 << 7)
     63#define RTEMS_CAPTURE_ON             (1U << 0)
     64#define RTEMS_CAPTURE_NO_MEMORY      (1U << 1)
     65#define RTEMS_CAPTURE_OVERFLOW       (1U << 2)
     66#define RTEMS_CAPTURE_TRIGGERED      (1U << 3)
     67#define RTEMS_CAPTURE_READER_ACTIVE  (1U << 4)
     68#define RTEMS_CAPTURE_READER_WAITING (1U << 5)
     69#define RTEMS_CAPTURE_GLOBAL_WATCH   (1U << 6)
     70#define RTEMS_CAPTURE_ONLY_MONITOR   (1U << 7)
    7171
    7272/*
     
    575575 * cause of a trigger.
    576576 */
    577 bool
     577static bool
    578578rtems_capture_trigger (rtems_capture_task_t* ft,
    579579                       rtems_capture_task_t* tt,
     
    14811481 *
    14821482 */
    1483 uint32_t
     1483static uint32_t
    14841484rtems_capture_map_trigger (rtems_capture_trigger_t trigger)
    14851485{
  • cpukit/libmisc/capture/capture.h

    r540eec6e re8f0541  
    9797 * Control flags.
    9898 */
    99 #define RTEMS_CAPTURE_WATCH         (1 << 0)
     99#define RTEMS_CAPTURE_WATCH         (1U << 0)
    100100
    101101/**
     
    170170 * Task flags.
    171171 */
    172 #define RTEMS_CAPTURE_TRACED  (1 << 0)
     172#define RTEMS_CAPTURE_TRACED  (1U << 0)
    173173
    174174/*
Note: See TracChangeset for help on using the changeset viewer.