warn_ignoring_args.c 382 B

123456789101112131415161718
  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 source tree.
  8. */
  9. #include "libbb.h"
  10. #if ENABLE_DESKTOP
  11. void FAST_FUNC bb_warn_ignoring_args(char *arg)
  12. {
  13. if (arg) {
  14. bb_simple_error_msg("ignoring all arguments");
  15. }
  16. }
  17. #endif