FreeBSD/contrib/subversion/subversion/libsvn_subr/date.c
/* Return the rule associated with TCHAR, or NULL if there
   is no such rule. */
Return the rule associated with TCHAR, or NULL if there
is no such rule.
Return the rule associated with TCHAR or NULL if there is no such rule .
static const rule *
find_rule(char tchar)
{
  int i = sizeof(rules)/sizeof(rules[0]);
  while (i--)
    if (rules[i].key == tchar)
      return &rules[i];
  return NULL;
}
static const rule * find_rule ( char tchar ) { int i = sizeof ( rules ) / sizeof ( rules [ 0 ] ) ; while ( i -- ) if ( rules [ i ] . key == tchar ) return & rules [ i ] ; return NULL ; }
Return the rule associated with TCHAR, or NULL if there
is no such rule.
Return the rule associated with TCHAR or NULL if there is no such rule .