flowtop-libs = -lGeoIP \ -lurcu \ -lnetfilter_conntrack \ $(shell pkg-config --libs ncurses 2> /dev/null \ || echo '-lncurses') \ $(shell pkg-config --libs tinfo 2> /dev/null ) \ -lpthread \ -lz flowtop-objs = xmalloc.o \ ioops.o \ oui.o \ str.o \ sig.o \ sock.o \ dev.o \ link.o \ hash.o \ dissector_eth.o \ dissector_80211.o \ dissector.o \ proto_none.o \ tprintf.o \ geoip.o \ screen.o \ flowtop.o flowtop-eflags = $(shell pkg-config --cflags ncurses) flowtop-confs = tcp.conf \ udp.conf \ geoip.conf ' title='net-next.git Git repository'/>
summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorBaoyou Xie <baoyou.xie@linaro.org>2016-09-01 19:15:35 +0800
committerAlex Williamson <alex.williamson@redhat.com>2016-09-13 16:11:37 -0600
commit2e06285655b59362847b610a7cfad204fee9640b (patch)
tree5ca738d21f4710ed438129ef6da1761356373e6d /Documentation
parent8138dabbab269d9d6ba2ffa17aad03aff22cfdb6 (diff)
vfio: platform: mark symbols static where possible
We get a few warnings when building kernel with W=1: drivers/vfio/platform/vfio_platform_common.c:76:5: warning: no previous prototype for 'vfio_platform_acpi_call_reset' [-Wmissing-prototypes] drivers/vfio/platform/vfio_platform_common.c:98:6: warning: no previous prototype for 'vfio_platform_acpi_has_reset' [-Wmissing-prototypes] drivers/vfio/platform/vfio_platform_common.c:640:5: warning: no previous prototype for 'vfio_platform_of_probe' [-Wmissing-prototypes] drivers/vfio/platform/reset/vfio_platform_amdxgbe.c:59:5: warning: no previous prototype for 'vfio_platform_amdxgbe_reset' [-Wmissing-prototypes] drivers/vfio/platform/reset/vfio_platform_calxedaxgmac.c:60:5: warning: no previous prototype for 'vfio_platform_calxedaxgmac_reset' [-Wmissing-prototypes] .... In fact, these functions are only used in the file in which they are declared and don't need a declaration, but can be made static. so this patch marks these functions with 'static'. Signed-off-by: Baoyou Xie <baoyou.xie@linaro.org> Acked-by: Arnd Bergmann <arnd@arndb.de> Reviewed-by: Eric Auger <eric.auger@redhat.com> Reviewed-by: Baptiste Reynal <b.reynal@virtualopensystems.com> Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'Documentation')