* src/haiku_select.cc (selection_state_flag):
* src/haikuselect.h: Remove variable.
static int64 count_primary = -1;
static int64 count_secondary = -1;
-int selection_state_flag;
-
static char *
BClipboard_find_data (BClipboard *cb, const char *type, ssize_t *len)
{
#ifdef __cplusplus
#include <cstdio>
+#else
+#include <stdio.h>
#endif
#include <SupportDefs.h>
};
#ifdef __cplusplus
-#include <stdio.h>
extern "C"
{
extern void init_haiku_select (void);
#endif
/* Whether or not the selection was recently changed. */
-extern int selection_state_flag;
/* Find a string with the MIME type TYPE in the system clipboard. */
extern char *BClipboard_find_system_data (const char *, ssize_t *);