diff options
| -rw-r--r-- | src/haiku_select.cc | 2 | ||||
| -rw-r--r-- | src/haikuselect.h | 4 |
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; | |||
| 35 | static int64 count_primary = -1; | 35 | static int64 count_primary = -1; |
| 36 | static int64 count_secondary = -1; | 36 | static int64 count_secondary = -1; |
| 37 | 37 | ||
| 38 | int selection_state_flag; | ||
| 39 | |||
| 40 | static char * | 38 | static char * |
| 41 | BClipboard_find_data (BClipboard *cb, const char *type, ssize_t *len) | 39 | BClipboard_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> | ||
| 37 | extern "C" | 38 | extern "C" |
| 38 | { | 39 | { |
| 39 | extern void init_haiku_select (void); | 40 | extern 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. */ |
| 42 | extern 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. */ |
| 45 | extern char *BClipboard_find_system_data (const char *, ssize_t *); | 45 | extern char *BClipboard_find_system_data (const char *, ssize_t *); |