linux-stable/arch/um/include/shared
Nick Desaulniers ab7ca2eb63 um: fix 3 instances of -Wmissing-prototypes
Fixes the following build errors observed from W=1 builds:
  arch/um/drivers/xterm_kern.c:35:5: warning: no previous prototype for
  function 'xterm_fd' [-Wmissing-prototypes]
  35 | int xterm_fd(int socket, int *pid_out)
     |     ^
  arch/um/drivers/xterm_kern.c:35:1: note: declare 'static' if the
  function is not intended to be used outside of this translation unit
  35 | int xterm_fd(int socket, int *pid_out)
     | ^
     | static
  arch/um/drivers/chan_kern.c:183:6: warning: no previous prototype for
  function 'free_irqs' [-Wmissing-prototypes]
  183 | void free_irqs(void)
      |      ^
  arch/um/drivers/chan_kern.c:183:1: note: declare 'static' if the
  function is not intended to be used outside of this translation unit
  183 | void free_irqs(void)
      | ^
      | static
  arch/um/drivers/slirp_kern.c:18:6: warning: no previous prototype for
  function 'slirp_init' [-Wmissing-prototypes]
  18 | void slirp_init(struct net_device *dev, void *data)
     |      ^
  arch/um/drivers/slirp_kern.c:18:1: note: declare 'static' if the
  function is not intended to be used outside of this translation unit
  18 | void slirp_init(struct net_device *dev, void *data)
     | ^
     | static

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202308081050.sZEw4cQ5-lkp@intel.com/
Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
2023-08-26 22:45:05 +02:00
..
skas um: separate child and parent errors in clone stub 2021-02-12 21:34:33 +01:00
arch.h um: Add SPDX headers for files in arch/um/include 2019-09-15 21:37:17 +02:00
as-layout.h um: make stub data pages size tweakable 2023-04-20 23:08:43 +02:00
common-offsets.h um: common-offsets.h debriding... 2021-12-21 21:31:35 +01:00
elf_user.h um: Add SPDX headers for files in arch/um/include 2019-09-15 21:37:17 +02:00
frame_kern.h um: Add SPDX headers for files in arch/um/include 2019-09-15 21:37:17 +02:00
init.h treewide: Convert macro and uses of __section(foo) to __section("foo") 2020-10-25 14:51:49 -07:00
irq_kern.h um: fix 3 instances of -Wmissing-prototypes 2023-08-26 22:45:05 +02:00
irq_user.h um: header debriding - activate_ipi() 2021-12-21 21:31:35 +01:00
kern.h um: Add SPDX headers for files in arch/um/include 2019-09-15 21:37:17 +02:00
kern_util.h um: remove a dangling extern of syscall_trace() 2021-12-21 21:31:35 +01:00
longjmp.h um: rename set_signals() to um_set_signals() 2021-12-21 21:13:44 +01:00
mem.h um: Replace to_phys() and to_virt() with less generic function names 2022-07-17 23:44:40 +02:00
mem_user.h um: header debriding - mem_user.h 2021-12-21 21:31:35 +01:00
net_kern.h treewide: Replace zero-length arrays with flexible-array members 2022-02-17 07:00:39 -06:00
net_user.h um: header debriding - net_*.h 2021-12-21 21:31:35 +01:00
os.h um: seed rng using host OS rng 2022-07-18 15:04:04 +02:00
ptrace_user.h um: Add SPDX headers for files in arch/um/include 2019-09-15 21:37:17 +02:00
registers.h um: stop polluting the namespace with registers.h contents 2021-12-21 21:31:35 +01:00
sigio.h um: header debriding - sigio.h 2021-12-21 21:31:36 +01:00
timetravel.h um: expose time-travel mode to userspace side 2021-06-17 21:44:51 +02:00
um_malloc.h um: Add SPDX headers for files in arch/um/include 2019-09-15 21:37:17 +02:00
user.h um: Remove strlcpy usage 2023-08-19 22:24:39 +02:00