FreeBSD/contrib/gcc/c-incpath.c
/* Free an element of the include chain, possibly giving a reason.  */
Free an element of the include chain, possibly giving a reason.
Free an element of the include chain possibly giving a reason .
static void
free_path (struct cpp_dir *path, int reason)
{
  switch (reason)
    {
    case REASON_DUP:
    case REASON_DUP_SYS:
      fprintf (stderr, _("ignoring duplicate directory \"%s\"\n"), path->name);
      if (reason == REASON_DUP_SYS)
	fprintf (stderr, "%s",
 _("  as it is a non-system directory that duplicates a system directory\n"));
      break;
    case REASON_NOENT:
      fprintf (stderr, _("ignoring nonexistent directory \"%s\"\n"),
	       path->name);
      break;
    case REASON_QUIET:
    default:
      break;
    }
  free (path->name);
  free (path);
}
static void free_path ( struct cpp_dir * path , int reason ) { switch ( reason ) { case REASON_DUP : case REASON_DUP_SYS : fprintf ( stderr , _ ( " \" \" \n " ) , path -> name ) ; if ( reason == REASON_DUP_SYS ) fprintf ( stderr , " " , _ ( " \n " ) ) ; break ; case REASON_NOENT : fprintf ( stderr , _ ( " \" \" \n " ) , path -> name ) ; break ; case REASON_QUIET : default : break ; } free ( path -> name ) ; free ( path ) ; }
Free an element of the include chain, possibly giving a reason.
Free an element of the include chain possibly giving a reason .