weston-ivi-shell: make 'extern' the definition of ivi_layout_interface in H file 05/26105/2
authorJanos Kovacs <jankovac503@gmail.com>
Wed, 13 Aug 2014 17:24:08 +0000 (20:24 +0300)
committerNobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
Mon, 25 Aug 2014 07:45:18 +0000 (16:45 +0900)
commit0e2880eb396707c071cff0a57c85e244cfce5510
treea448e01b61afa54def449151346cbc64ff8ceea3
parent36d38d1e873c9abff325ded3da61d4c7c1a7d546
weston-ivi-shell: make 'extern' the definition of ivi_layout_interface in H file

        the lack of 'extern' keyword at the definition of
        ivi_layout_interface in the H file resulted a local,
        empty duplicate of the struct whenever the H file was
        included. This duplicate shadowed the original function
        table and since it was all empty it resulted crashes whenever
        someone tried to use it.

        Modules that access the same table via dlopen/dlsym functioned
        properly however.

Change-Id: Ic7b2891dd0bfa31bbab5331b361ba5d31088332e
Signed-off-by: Janos Kovacs <jankovac503@gmail.com>
weston-ivi-shell/src/ivi-layout.h