Changeset 5f5f681 in rtems for tools/cpu/nios2/ptf.c


Ignore:
Timestamp:
Dec 10, 2009, 7:20:06 AM (10 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, master
Children:
e8cf7b5
Parents:
c9ece2e
Message:

Whitespace removal.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/cpu/nios2/ptf.c

    rc9ece2e r5f5f681  
    5353    more_section_name_chars,
    5454    more_item_value_chars,
    55   } expectation; 
     55  } expectation;
    5656};
    5757
     
    241241
    242242      if(is_not_quoted && c == '}')
    243       { 
     243      {
    244244        parser_event = section_closed;
    245245      }
     
    470470  f = fopen(filename, "r");
    471471  if(f == NULL)
    472   { 
     472  {
    473473    perror(filename);
    474474    return NULL;
     
    687687          if(strcmp(leaf->value, value) == 0) return 0; /* got it */
    688688        }
    689       } 
     689      }
    690690      else if(leaf->name != NULL)
    691691      {
     
    713713
    714714struct ptf *ptf_find(
    715   struct ptf *tree, 
     715  struct ptf *tree,
    716716  struct ptf_item *item,
    717717  ptf_item_type ttype,
     
    765765int ptf_match(
    766766  struct ptf *const ptf,
    767   struct ptf_item *const match, 
    768   const ptf_match_action action, 
     767  struct ptf_item *const match,
     768  const ptf_match_action action,
    769769  void *arg)
    770770{
     
    789789
    790790        if(mtype == p->type &&
    791            (mname==NULL || p->name==NULL || strcmp(mname, p->name)==0) && 
     791           (mname==NULL || p->name==NULL || strcmp(mname, p->name)==0) &&
    792792           (mvalue==NULL || p->value==NULL || strcmp(mvalue, p->value)==0))
    793793        {
Note: See TracChangeset for help on using the changeset viewer.