2001-03-17 04:17:14 +05:30
|
|
|
/* vi: set sw=4 ts=4: */
|
|
|
|
/*
|
2004-04-14 23:21:38 +05:30
|
|
|
* warn_ignoring_args implementation for busybox
|
2001-03-17 04:17:14 +05:30
|
|
|
*
|
2003-03-19 14:43:01 +05:30
|
|
|
* Copyright (C) 2003 Manuel Novoa III <mjn3@codepoet.org>
|
2001-03-17 04:17:14 +05:30
|
|
|
*
|
2006-07-10 17:11:19 +05:30
|
|
|
* Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
|
2001-03-17 04:17:14 +05:30
|
|
|
*/
|
|
|
|
|
2006-11-24 21:08:03 +05:30
|
|
|
#include "libbb.h"
|
2001-03-17 04:17:14 +05:30
|
|
|
|
2008-06-27 08:22:20 +05:30
|
|
|
void FAST_FUNC bb_warn_ignoring_args(int n)
|
2001-03-17 04:17:14 +05:30
|
|
|
{
|
2003-03-19 14:43:01 +05:30
|
|
|
if (n) {
|
2006-09-07 21:50:03 +05:30
|
|
|
bb_error_msg("ignoring all arguments");
|
2001-03-17 04:17:14 +05:30
|
|
|
}
|
|
|
|
}
|