From 364ab8781f379eb8759dcf9d825bfd1b61b9e489 Mon Sep 17 00:00:00 2001 From: John Marino Date: Thu, 22 May 2014 21:44:51 +0000 Subject: lang/gnat_util: Add set_std_prefix and update_path symbols Rather than require each user of libgnat_util to link in set_std_prefix and update_path functions, let's assume each user needs the same version of these functions and just add them directly to the library. Adjust gnatcoll accordingly -- hack no longer necessary. --- lang/gnat_util/files/update_path.c | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 lang/gnat_util/files/update_path.c (limited to 'lang/gnat_util/files/update_path.c') diff --git a/lang/gnat_util/files/update_path.c b/lang/gnat_util/files/update_path.c new file mode 100644 index 000000000000..ee4ab484a084 --- /dev/null +++ b/lang/gnat_util/files/update_path.c @@ -0,0 +1,27 @@ +/********************************************************************* + * G P S * + * * + * Copyright (C) 2002-2004 * + * ACT-Europe * + * * + * GPS is free software; you can redistribute it and/or modify it * + * under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * + * General Public License for more details. You should have received * + * a copy of the GNU General Public License along with this program; * + * if not, write to the Free Software Foundation, Inc., 59 Temple * + * Place - Suite 330, Boston, MA 02111-1307, USA. * + *********************************************************************/ + +/* Dummy version of update_path (needed by osint.adb) */ + +char * +update_path (char *path, char *key) +{ + return path; +} -- cgit v1.2.3