1*e4b17023SJohn Marino /* Provide prototypes for functions exported from prefix.c. 2*e4b17023SJohn Marino Copyright (C) 1999, 2003, 2007 Free Software Foundation, Inc. 3*e4b17023SJohn Marino 4*e4b17023SJohn Marino This file is part of GCC. 5*e4b17023SJohn Marino 6*e4b17023SJohn Marino GCC is free software; you can redistribute it and/or modify it under 7*e4b17023SJohn Marino the terms of the GNU Library General Public License as published by 8*e4b17023SJohn Marino the Free Software Foundation; either version 3 of the License, or (at 9*e4b17023SJohn Marino your option) any later version. 10*e4b17023SJohn Marino 11*e4b17023SJohn Marino GCC is distributed in the hope that it will be useful, 12*e4b17023SJohn Marino but WITHOUT ANY WARRANTY; without even the implied warranty of 13*e4b17023SJohn Marino MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14*e4b17023SJohn Marino Library General Public License for more details. 15*e4b17023SJohn Marino 16*e4b17023SJohn Marino You should have received a copy of the GNU Library General Public 17*e4b17023SJohn Marino License along with GCC; see the file COPYING3. If not see 18*e4b17023SJohn Marino <http://www.gnu.org/licenses/>. */ 19*e4b17023SJohn Marino 20*e4b17023SJohn Marino 21*e4b17023SJohn Marino #ifndef GCC_PREFIX_H 22*e4b17023SJohn Marino #define GCC_PREFIX_H 23*e4b17023SJohn Marino 24*e4b17023SJohn Marino #ifdef __cplusplus 25*e4b17023SJohn Marino extern "C" { 26*e4b17023SJohn Marino #endif 27*e4b17023SJohn Marino 28*e4b17023SJohn Marino /* These functions are called by the Ada frontend with C convention. */ 29*e4b17023SJohn Marino 30*e4b17023SJohn Marino /* Update PATH using KEY if PATH starts with PREFIX. The returned 31*e4b17023SJohn Marino string is always malloc-ed, and the caller is responsible for 32*e4b17023SJohn Marino freeing it. */ 33*e4b17023SJohn Marino extern char *update_path (const char *path, const char *key); 34*e4b17023SJohn Marino extern void set_std_prefix (const char *, int); 35*e4b17023SJohn Marino 36*e4b17023SJohn Marino #ifdef __cplusplus 37*e4b17023SJohn Marino } 38*e4b17023SJohn Marino #endif 39*e4b17023SJohn Marino 40*e4b17023SJohn Marino #endif /* ! GCC_PREFIX_H */ 41