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