152284Sobrien/* Provide prototypes for functions exported from prefix.c.
2132718Skan   Copyright (C) 1999, 2003 Free Software Foundation, Inc.
352284Sobrien
490075SobrienThis file is part of GCC.
552284Sobrien
690075SobrienGCC is free software; you can redistribute it and/or modify it under
790075Sobrienthe terms of the GNU Library General Public License as published by
890075Sobrienthe Free Software Foundation; either version 2 of the License, or (at
990075Sobrienyour option) any later version.
1052284Sobrien
1152284SobrienGCC is distributed in the hope that it will be useful,
1252284Sobrienbut WITHOUT ANY WARRANTY; without even the implied warranty of
1352284SobrienMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
1452284SobrienLibrary General Public License for more details.
1552284Sobrien
1652284SobrienYou should have received a copy of the GNU Library General Public
1752284SobrienLicense along with GCC; see the file COPYING.  If not, write to the Free
18169689SkanSoftware Foundation, Inc., 51 Franklin Street, Fifth Floor,
19169689SkanBoston, MA 02110-1301, USA.  */
2052284Sobrien
2152284Sobrien
2290075Sobrien#ifndef GCC_PREFIX_H
2390075Sobrien#define GCC_PREFIX_H
2452284Sobrien
2590075Sobrien/* Update PATH using KEY if PATH starts with PREFIX.  The returned
2690075Sobrien   string is always malloc-ed, and the caller is responsible for
2790075Sobrien   freeing it.  */
28132718Skanextern char *update_path (const char *path, const char *key);
29132718Skanextern void set_std_prefix (const char *, int);
3052284Sobrien
3190075Sobrien#endif /* ! GCC_PREFIX_H */
32