1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-04-20 10:51:48 +02:00

maint: avoid warnings about potentially-counterproductive "inline"

* src/dd.c (quit): Remove "inline" attribute.
* src/test.c (advance, unary_advance): Likewise.
This commit is contained in:
Jim Meyering
2009-02-14 11:26:14 +01:00
parent 14cdeddbf3
commit 2d10b7617b
2 changed files with 5 additions and 5 deletions

View File

@@ -669,7 +669,7 @@ cleanup (void)
_("closing output file %s"), quote (output_file));
}
static inline void ATTRIBUTE_NORETURN
static void ATTRIBUTE_NORETURN
quit (int code)
{
cleanup ();

View File

@@ -91,7 +91,7 @@ test_syntax_error (char const *format, char const *arg)
past the end of the argument list. This check is supressed if the
argument is false. */
static inline void
static void
advance (bool f)
{
++pos;
@@ -100,7 +100,7 @@ advance (bool f)
beyond ();
}
static inline void
static void
unary_advance (void)
{
advance (true);
@@ -567,9 +567,9 @@ test_unop (char const *op)
case 'u': case 'w': case 'x': case 'z':
case 'G': case 'L': case 'O': case 'S': case 'N':
return true;
default:
return false;
}
return false;
}
static bool