Changeset 30a7f06 in rtems-tools for linkers/rld.cpp


Ignore:
Timestamp:
Sep 10, 2014, 1:14:06 AM (7 years ago)
Author:
Chris Johns <chrisj@…>
Branches:
4.10, 4.11, 5, master
Children:
67369b1
Parents:
b7ad4a2
Message:

Make the verbose take the level and return the level if valid.

This makes the verbose a single and removes the need to have the
logic of the test in the code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • linkers/rld.cpp

    rb7ad4a2 r30a7f06  
    195195
    196196  int
    197   verbose ()
    198   {
    199     return verbose_level;
     197  verbose (int level)
     198  {
     199    return verbose_level && (verbose_level >= level) ? verbose_level : 0;
    200200  }
    201201
Note: See TracChangeset for help on using the changeset viewer.