aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Ellcey <sellcey@mips.com>2014-10-24 10:37:51 +1100
committerBen Elliston <bje@gnu.org>2014-10-24 10:37:51 +1100
commitad36659ffa984a0541cfc2bd27f393e0d7d173a7 (patch)
tree992a21bb63b5bfbbbd4d24b619e57dc50eadcefb
parent5704cbfcf41f62aaba671a829dde9d69c2c6ece4 (diff)
downloaddejagnu-ad36659ffa984a0541cfc2bd27f393e0d7d173a7.zip
dejagnu-ad36659ffa984a0541cfc2bd27f393e0d7d173a7.tar.gz
dejagnu-ad36659ffa984a0541cfc2bd27f393e0d7d173a7.tar.bz2
* dejagnu.h (pass): Make function static as well as inline.
(xpass): Ditto. (fail): Ditto. (xfail): Ditto. (untested): Ditto. (unresolved): Ditto. (note): Ditto. (totals): Ditto. Signed-off-by: Ben Elliston <bje@gnu.org>
-rw-r--r--ChangeLog11
-rw-r--r--dejagnu.h16
2 files changed, 19 insertions, 8 deletions
diff --git a/ChangeLog b/ChangeLog
index d639956..1f706f7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+2014-10-24 Steve Ellcey <sellcey@mips.com>
+
+ * dejagnu.h (pass): Make function static as well as inline.
+ (xpass): Ditto.
+ (fail): Ditto.
+ (xfail): Ditto.
+ (untested): Ditto.
+ (unresolved): Ditto.
+ (note): Ditto.
+ (totals): Ditto.
+
2014-10-14 Ben Elliston <bje@gnu.org>
* runtest.exp: Only match $directory, not *${directory}* when the
diff --git a/dejagnu.h b/dejagnu.h
index ff84bd7..45ee070 100644
--- a/dejagnu.h
+++ b/dejagnu.h
@@ -60,7 +60,7 @@ wait (void)
#endif
}
-inline void
+static inline void
pass (const char* fmt, ...)
{
va_list ap;
@@ -73,7 +73,7 @@ pass (const char* fmt, ...)
wait ();
}
-inline void
+static inline void
xpass (const char* fmt, ...)
{
va_list ap;
@@ -86,7 +86,7 @@ xpass (const char* fmt, ...)
wait ();
}
-inline void
+static inline void
fail (const char* fmt, ...)
{
va_list ap;
@@ -99,7 +99,7 @@ fail (const char* fmt, ...)
wait ();
}
-inline void
+static inline void
xfail (const char* fmt, ...)
{
va_list ap;
@@ -112,7 +112,7 @@ xfail (const char* fmt, ...)
wait ();
}
-inline void
+static inline void
untested (const char* fmt, ...)
{
va_list ap;
@@ -125,7 +125,7 @@ untested (const char* fmt, ...)
wait ();
}
-inline void
+static inline void
unresolved (const char* fmt, ...)
{
va_list ap;
@@ -138,7 +138,7 @@ unresolved (const char* fmt, ...)
wait ();
}
-inline void
+static inline void
note (const char* fmt, ...)
{
va_list ap;
@@ -150,7 +150,7 @@ note (const char* fmt, ...)
wait ();
}
-inline void
+static inline void
totals (void)
{
printf ("\nTotals:\n");