aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/haiku_select.cc2
-rw-r--r--src/haikuselect.h4
2 files changed, 2 insertions, 4 deletions
diff --git a/src/haiku_select.cc b/src/haiku_select.cc
index be8026b6a16..a26a0049cbf 100644
--- a/src/haiku_select.cc
+++ b/src/haiku_select.cc
@@ -35,8 +35,6 @@ static int64 count_clipboard = -1;
35static int64 count_primary = -1; 35static int64 count_primary = -1;
36static int64 count_secondary = -1; 36static int64 count_secondary = -1;
37 37
38int selection_state_flag;
39
40static char * 38static char *
41BClipboard_find_data (BClipboard *cb, const char *type, ssize_t *len) 39BClipboard_find_data (BClipboard *cb, const char *type, ssize_t *len)
42{ 40{
diff --git a/src/haikuselect.h b/src/haikuselect.h
index a99721dd221..d4f331a9ccb 100644
--- a/src/haikuselect.h
+++ b/src/haikuselect.h
@@ -21,6 +21,8 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */
21 21
22#ifdef __cplusplus 22#ifdef __cplusplus
23#include <cstdio> 23#include <cstdio>
24#else
25#include <stdio.h>
24#endif 26#endif
25 27
26#include <SupportDefs.h> 28#include <SupportDefs.h>
@@ -33,13 +35,11 @@ enum haiku_clipboard
33 }; 35 };
34 36
35#ifdef __cplusplus 37#ifdef __cplusplus
36#include <stdio.h>
37extern "C" 38extern "C"
38{ 39{
39extern void init_haiku_select (void); 40extern void init_haiku_select (void);
40#endif 41#endif
41/* Whether or not the selection was recently changed. */ 42/* Whether or not the selection was recently changed. */
42extern int selection_state_flag;
43 43
44/* Find a string with the MIME type TYPE in the system clipboard. */ 44/* Find a string with the MIME type TYPE in the system clipboard. */
45extern char *BClipboard_find_system_data (const char *, ssize_t *); 45extern char *BClipboard_find_system_data (const char *, ssize_t *);