[BACK]Return to cond.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / make

Diff for /src/usr.bin/make/cond.c between version 1.16 and 1.17

version 1.16, 2000/04/17 23:50:45 version 1.17, 2000/06/10 01:41:05
Line 104 
Line 104 
 static void CondPushBack __P((Token));  static void CondPushBack __P((Token));
 static Boolean CondGetArg __P((char **, char **, size_t *, char *, Boolean));  static Boolean CondGetArg __P((char **, char **, size_t *, char *, Boolean));
 static Boolean CondDoDefined __P((size_t, char *));  static Boolean CondDoDefined __P((size_t, char *));
 static int CondStrMatch __P((ClientData, ClientData));  static int CondStrMatch __P((void *, void *));
 static Boolean CondDoMake __P((size_t, char *));  static Boolean CondDoMake __P((size_t, char *));
 static Boolean CondDoExists __P((size_t, char *));  static Boolean CondDoExists __P((size_t, char *));
 static Boolean CondDoTarget __P((size_t, char *));  static Boolean CondDoTarget __P((size_t, char *));
Line 307 
Line 307 
  *   *
  * Results:   * Results:
  *      0 if string matches pattern   *      0 if string matches pattern
  *  
  * Side Effects:  
  *      None  
  *  
  *-----------------------------------------------------------------------   *-----------------------------------------------------------------------
  */   */
 static int  static int
 CondStrMatch(string, pattern)  CondStrMatch(string, pattern)
     ClientData    string;      void *string;
     ClientData    pattern;      void *pattern;
 {  {
     return(!Str_Match((char *) string,(char *) pattern));      return !Str_Match((char *)string,(char *)pattern);
 }  }
   
 /*-  /*-

Legend:
Removed from v.1.16  
changed lines
  Added in v.1.17