From 480abc72507d3d0ff25409837762aad21892ce35 Mon Sep 17 00:00:00 2001 From: Yuan Liu Date: Mon, 14 Mar 2016 15:00:49 -0700 Subject: [PATCH] lkl: Mark lkl_virtio_devs as extern in lkl_host.h It's defined in tools/lkl/lib/virtio.c. Define it again in lkl_host.h will cause duplicated definition in client code. Signed-off-by: liuyuan@google.com --- tools/lkl/include/lkl_host.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/lkl/include/lkl_host.h b/tools/lkl/include/lkl_host.h index 09e34ee4c5ab12..eded31762e9c24 100644 --- a/tools/lkl/include/lkl_host.h +++ b/tools/lkl/include/lkl_host.h @@ -17,7 +17,7 @@ extern struct lkl_host_operations lkl_host_ops; */ int lkl_printf(const char *fmt, ...); -char lkl_virtio_devs[256]; +extern char lkl_virtio_devs[256]; struct lkl_dev_buf { void *addr;