summary refs log tree commit diff stats
path: root/util/cacheflush.c
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2023-04-23 18:55:28 +0200
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2023-06-13 11:28:58 +0200
commitf975033d56dbf945ca7a4247c301c217fa4972f8 (patch)
tree37038e995483871bafa2510dab4a18049ee44c9b /util/cacheflush.c
parent7f750efcaa86dad4d0b748f27b82c2c066b5435b (diff)
downloadfocaccia-qemu-f975033d56dbf945ca7a4247c301c217fa4972f8.tar.gz
focaccia-qemu-f975033d56dbf945ca7a4247c301c217fa4972f8.zip
cocoa: Fix warnings about invalid prototype declarations
Fix the following Cocoa trivial warnings:

  C compiler for the host machine: cc (clang 14.0.0 "Apple clang version 14.0.0 (clang-1400.0.29.202)")
  Objective-C compiler for the host machine: clang (clang 14.0.0)

  [100/334] Compiling Objective-C object libcommon.fa.p/net_vmnet-bridged.m.o
  net/vmnet-bridged.m:40:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
  static char* get_valid_ifnames()
                                ^
                                 void
  [742/1436] Compiling Objective-C object libcommon.fa.p/ui_cocoa.m.o
  ui/cocoa.m:1937:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
  static int cocoa_main()
                       ^
                        void

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Message-Id: <20230425192820.34063-1-philmd@linaro.org>
Diffstat (limited to 'util/cacheflush.c')
0 files changed, 0 insertions, 0 deletions