xref: /openbsd-src/gnu/usr.bin/gcc/gcc/prefix.h (revision c87b03e512fc05ed6e0222f6fb0ae86264b1d05b)
1*c87b03e5Sespie /* Provide prototypes for functions exported from prefix.c.
2*c87b03e5Sespie    Copyright (C) 1999 Free Software Foundation, Inc.
3*c87b03e5Sespie 
4*c87b03e5Sespie This file is part of GCC.
5*c87b03e5Sespie 
6*c87b03e5Sespie GCC is free software; you can redistribute it and/or modify it under
7*c87b03e5Sespie the terms of the GNU Library General Public License as published by
8*c87b03e5Sespie the Free Software Foundation; either version 2 of the License, or (at
9*c87b03e5Sespie your option) any later version.
10*c87b03e5Sespie 
11*c87b03e5Sespie GCC is distributed in the hope that it will be useful,
12*c87b03e5Sespie but WITHOUT ANY WARRANTY; without even the implied warranty of
13*c87b03e5Sespie MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14*c87b03e5Sespie Library General Public License for more details.
15*c87b03e5Sespie 
16*c87b03e5Sespie You should have received a copy of the GNU Library General Public
17*c87b03e5Sespie License along with GCC; see the file COPYING.  If not, write to the Free
18*c87b03e5Sespie Software Foundation, Inc., 59 Temple Place - Suite 330,
19*c87b03e5Sespie Boston, MA 02111-1307, USA.  */
20*c87b03e5Sespie 
21*c87b03e5Sespie 
22*c87b03e5Sespie #ifndef GCC_PREFIX_H
23*c87b03e5Sespie #define GCC_PREFIX_H
24*c87b03e5Sespie 
25*c87b03e5Sespie /* Update PATH using KEY if PATH starts with PREFIX.  The returned
26*c87b03e5Sespie    string is always malloc-ed, and the caller is responsible for
27*c87b03e5Sespie    freeing it.  */
28*c87b03e5Sespie extern char *update_path PARAMS ((const char *path, const char *key));
29*c87b03e5Sespie extern void set_std_prefix PARAMS ((const char *, int));
30*c87b03e5Sespie 
31*c87b03e5Sespie #endif /* ! GCC_PREFIX_H */
32