You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
485 B

  1. --- a/clish/shell/shell_execute.c
  2. +++ b/clish/shell/shell_execute.c
  3. @@ -19,12 +19,14 @@
  4. #include <signal.h>
  5. #include <fcntl.h>
  6. +#if defined(__UCLIBC__) && !defined(__UCLIBC_HAS_OBSOLETE_BSD_SIGNAL__)
  7. /* Empty signal handler to ignore signal but don't use SIG_IGN. */
  8. static void sigignore(int signo)
  9. {
  10. signo = signo; /* Happy compiler */
  11. return;
  12. }
  13. +#endif
  14. /*-------------------------------------------------------- */
  15. static int clish_shell_lock(const char *lock_path)