summaryrefslogtreecommitdiff
path: root/src/lib/ecore_buffer
diff options
context:
space:
mode:
authorYeongjong Lee <yj34.lee@samsung.com>2018-08-27 12:00:16 +0900
committerHermet Park <hermetpark@gmail.com>2018-08-27 12:00:17 +0900
commitdb15b0347290c59a2e335d5afcffea6c7ae5a607 (patch)
tree4f12ba1292b350afa1e17e33b3729f434f5fc7b0 /src/lib/ecore_buffer
parentb91a18524f9775449091ad6d5dd8770962c80a40 (diff)
ecore_buffer: move include to out side of extern "C"
Summary: This fixes ecore_buffer_queue_init, shutdown compile error. Test Plan: 1. compile with --enable-ecore-buffer 2. gcc -o ecore_buffer_consumer_example ecore_buffer_consumer_example.c \ `pkg-config --libs --cflags eina ecore evas ecore-buffer ecore-evas` 3. check there is no error message like `undefined reference to `ecore_buffer_queue_init'` Reviewers: Hermet, zmike Reviewed By: Hermet Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D6898
Diffstat (limited to 'src/lib/ecore_buffer')
-rw-r--r--src/lib/ecore_buffer/Ecore_Buffer_Queue.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/ecore_buffer/Ecore_Buffer_Queue.h b/src/lib/ecore_buffer/Ecore_Buffer_Queue.h
index 11abf6a57b..7322a3e53a 100644
--- a/src/lib/ecore_buffer/Ecore_Buffer_Queue.h
+++ b/src/lib/ecore_buffer/Ecore_Buffer_Queue.h
@@ -1,6 +1,9 @@
1#ifndef _ECORE_BUFFER_QUEUE_H_ 1#ifndef _ECORE_BUFFER_QUEUE_H_
2#define _ECORE_BUFFER_QUEUE_H_ 2#define _ECORE_BUFFER_QUEUE_H_
3 3
4#include <Eina.h>
5#include <Ecore_Buffer.h>
6
4#ifdef EAPI 7#ifdef EAPI
5# undef EAPI 8# undef EAPI
6#endif 9#endif
@@ -31,8 +34,6 @@
31extern "C" { 34extern "C" {
32#endif 35#endif
33 36
34#include <Eina.h>
35#include "Ecore_Buffer.h"
36 37
37/** 38/**
38 * @defgroup Ecore_Buffer_Queue_Group Ecore Buffer Queue functions 39 * @defgroup Ecore_Buffer_Queue_Group Ecore Buffer Queue functions