diff options
author | Emre Ucan <eucan@de.adit-jv.com> | 2015-05-21 14:23:47 +0200 |
---|---|---|
committer | Nobuhiko Tanibata <nobuhiko_tanibata@xddp.denso.co.jp> | 2015-06-15 16:23:34 +0900 |
commit | d1e8f0f3bbd5cef91b7e2ee403b643ee67d92523 (patch) | |
tree | f09ea4641522d80c1421a5185a1bc120072fa121 /weston-ivi-shell | |
parent | fe1eb0f2e8eb6142326cea0d5dc7d49420dcdc2b (diff) | |
download | wayland-ivi-extension-d1e8f0f3bbd5cef91b7e2ee403b643ee67d92523.tar.gz |
ivi-controller: add ivi-controller-impl.h file
init_ivi_shell and setup_ivi_controller_server functions are defined at
ivi-controller-impl.c, but called at ivi-extensions.c. They are not declared
at the compilation of ivi-extension.c. I am introducing with this patch a new
header file to avoid -Wimplicit-function-declaration
Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
Diffstat (limited to 'weston-ivi-shell')
-rw-r--r-- | weston-ivi-shell/src/ivi-controller-impl.h | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/weston-ivi-shell/src/ivi-controller-impl.h b/weston-ivi-shell/src/ivi-controller-impl.h new file mode 100644 index 0000000..cf5fb6b --- /dev/null +++ b/weston-ivi-shell/src/ivi-controller-impl.h @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2015 Advanced Driver Information Technology Joint Venture GmbH + * + * Permission to use, copy, modify, distribute, and sell this software and + * its documentation for any purpose is hereby granted without fee, provided + * that the above copyright notice appear in all copies and that both that + * copyright notice and this permission notice appear in supporting + * documentation, and that the name of the copyright holders not be used in + * advertising or publicity pertaining to distribution of the software + * without specific, written prior permission. The copyright holders make + * no representations about the suitability of this software for any + * purpose. It is provided "as is" without express or implied warranty. + * + * THE COPYRIGHT HOLDERS DISCLAIM ALL WARRANTIES WITH REGARD TO THIS + * SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND + * FITNESS, IN NO EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY + * SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER + * RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF + * CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN + * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +#ifndef IVI_CONTROLLER_IMPL_H +#define IVI_CONTROLLER_IMPL_H + +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ + +void +init_ivi_shell(struct weston_compositor *ec, struct ivishell *shell); + +int +setup_ivi_controller_server(struct weston_compositor *compositor, + struct ivishell *shell); + +#ifdef __cplusplus +} /**/ +#endif /* __cplusplus */ + +#endif |