Initial public busybox upstream commit
[busybox4maemo] / libbb / warn_ignoring_args.c
1 /* vi: set sw=4 ts=4: */
2 /*
3  * warn_ignoring_args implementation for busybox
4  *
5  * Copyright (C) 2003  Manuel Novoa III  <mjn3@codepoet.org>
6  *
7  * Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
8  */
9
10 #include "libbb.h"
11
12 void bb_warn_ignoring_args(int n)
13 {
14         if (n) {
15                 bb_error_msg("ignoring all arguments");
16         }
17 }