blob: 65dea321a0959fd9240baedaca07ac8226649b1f [file] [log] [blame]
Manuel Novoa III cad53642003-03-19 09:13:01 +00001/* vi: set sw=4 ts=4: */
2/*
Eric Andersenaff114c2004-04-14 17:51:38 +00003 * warn_ignoring_args implementation for busybox
Manuel Novoa III cad53642003-03-19 09:13:01 +00004 *
5 * Copyright (C) 2003 Manuel Novoa III <mjn3@codepoet.org>
6 *
"Robert P. J. Day"5d8843e2006-07-10 11:41:19 +00007 * Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
Manuel Novoa III cad53642003-03-19 09:13:01 +00008 */
9
Denis Vlasenkod398eca2006-11-24 15:38:03 +000010#include "libbb.h"
Manuel Novoa III cad53642003-03-19 09:13:01 +000011
Denis Vlasenkodefc1ea2008-06-27 02:52:20 +000012void FAST_FUNC bb_warn_ignoring_args(int n)
Manuel Novoa III cad53642003-03-19 09:13:01 +000013{
14 if (n) {
Denis Vlasenkoa9801652006-09-07 16:20:03 +000015 bb_error_msg("ignoring all arguments");
Manuel Novoa III cad53642003-03-19 09:13:01 +000016 }
17}