[BACK]Return to man_hash.c CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / mandoc

Diff for /mandoc/Attic/man_hash.c between version 1.1 and 1.4

version 1.1, 2009/03/23 14:22:11 version 1.4, 2009/03/31 13:50:19
Line 16 
Line 16 
  * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR   * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  * PERFORMANCE OF THIS SOFTWARE.   * PERFORMANCE OF THIS SOFTWARE.
  */   */
 #include <assert.h>  
 #include <ctype.h>  
 #include <err.h>  
 #include <stdlib.h>  #include <stdlib.h>
 #include <stdio.h>  
 #include <string.h>  #include <string.h>
   
 #include "libman.h"  #include "libman.h"
Line 49  man_hash_find(const void *arg, const char *tmp)
Line 45  man_hash_find(const void *arg, const char *tmp)
 {  {
         int              i;          int              i;
   
           /* TODO */
   
         for (i = 0; i < MAN_MAX; i++)          for (i = 0; i < MAN_MAX; i++)
                 if (0 == strcasecmp(tmp, man_macronames[i]))                  if (0 == strcmp(tmp, man_macronames[i]))
                         return(i);                          return(i);
   
         return(MAN_MAX);          return(MAN_MAX);

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.4

CVSweb