aboutsummaryrefslogtreecommitdiff
path: root/libiberty
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2001-04-04 01:16:27 +0000
committerDJ Delorie <dj@redhat.com>2001-04-04 01:16:27 +0000
commitd9697354487c09683dd0b1265cf6f8b3fd523a71 (patch)
tree1ffeabe7d37053353cb4bff2338f172d4e7be96e /libiberty
parent391a809a0af96de6bc93f3608c738b9eb597f861 (diff)
downloadgdb-d9697354487c09683dd0b1265cf6f8b3fd523a71.zip
gdb-d9697354487c09683dd0b1265cf6f8b3fd523a71.tar.gz
gdb-d9697354487c09683dd0b1265cf6f8b3fd523a71.tar.bz2
merge from gcc
Diffstat (limited to 'libiberty')
-rw-r--r--libiberty/ChangeLog4
-rw-r--r--libiberty/make-temp-file.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog
index a2b39ae..79bef79 100644
--- a/libiberty/ChangeLog
+++ b/libiberty/ChangeLog
@@ -1,3 +1,7 @@
+2001-04-03 Zack Weinberg <zackw@stanford.edu>
+
+ * make-temp-file.c (try): Inline.
+
2001-02-28 Richard Henderson <rth@redhat.com>
* Makefile.in (make-temp-file.o): Depend on config.h.
diff --git a/libiberty/make-temp-file.c b/libiberty/make-temp-file.c
index 67efed1..f3e1d10 100644
--- a/libiberty/make-temp-file.c
+++ b/libiberty/make-temp-file.c
@@ -61,9 +61,9 @@ extern int mkstemps PARAMS ((char *, int));
If success, DIR is returned.
Otherwise NULL is returned. */
-static const char *try PARAMS ((const char *, const char *));
+static inline const char *try PARAMS ((const char *, const char *));
-static const char *
+static inline const char *
try (dir, base)
const char *dir, *base;
{