blob: af82a6b5bb559a30ff0b82cac9044c79ffe8c5bb [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
10#include <libbb.h>
11
Rob Landleydfba7412006-03-06 20:47:33 +000012void bb_warn_ignoring_args(int n)
Manuel Novoa III cad53642003-03-19 09:13:01 +000013{
14 if (n) {
15 bb_perror_msg("ignoring all arguments");
16 }
17}