From 7218ed207bfcf77dbc9261f88fbfee6cc217be2a Mon Sep 17 00:00:00 2001 From: waltje Date: Sun, 8 Apr 2018 22:39:46 -0400 Subject: [PATCH] Fixed some warnings on the Unix versions. Updated to release 0.1.5(.0) --- src/disk/hdc.h | 10 +++++++++- src/parallel_dev.h | 4 ++-- src/version.h | 4 ++-- 3 files changed, 13 insertions(+), 5 deletions(-) diff --git a/src/disk/hdc.h b/src/disk/hdc.h index 1309297..95be275 100644 --- a/src/disk/hdc.h +++ b/src/disk/hdc.h @@ -8,7 +8,7 @@ * * Definitions for the common disk controller handler. * - * Version: @(#)hdc.h 1.0.4 2018/04/05 + * Version: @(#)hdc.h 1.0.5 2018/04/08 * * Authors: Fred N. van Kempen, * Miran Grca, @@ -46,6 +46,10 @@ * least 7 devices, with each device being * able to support 8 units, but hey... */ +#ifdef __cplusplus +extern "C" { +#endif + #ifdef EMU_DEVICE_H extern const device_t mfm_xt_xebec_device; /* mfm_xt_xebec */ extern const device_t mfm_xt_dtc5150x_device; /* mfm_xt_dtc */ @@ -80,5 +84,9 @@ extern int hdc_get_flags(int hdc); extern int hdc_available(int hdc); extern int hdc_get_from_internal_name(char *s); +#ifdef __cplusplus +} +#endif + #endif /*EMU_HDC_H*/ diff --git a/src/parallel_dev.h b/src/parallel_dev.h index 08f13fa..a347839 100644 --- a/src/parallel_dev.h +++ b/src/parallel_dev.h @@ -8,7 +8,7 @@ * * Definitions for the parallel port-attached devices. * - * Version: @(#)parallel_dev.h 1.0.1 2018/04/07 + * Version: @(#)parallel_dev.h 1.0.2 2018/04/08 * * Authors: Fred N. van Kempen, * Miran Grca, @@ -37,7 +37,7 @@ * USA. */ #ifndef EMU_PARALLEL_DEV_H -# define EMU_PARALLE_DEVL_H +# define EMU_PARALLEL_DEV_H typedef struct _lpt_device_ { diff --git a/src/version.h b/src/version.h index 25cff8f..c951beb 100644 --- a/src/version.h +++ b/src/version.h @@ -8,7 +8,7 @@ * * Define application version and build info. * - * Version: @(#)version.h 1.0.5 2018/04/04 + * Version: @(#)version.h 1.0.6 2018/04/08 * * Author: Fred N. van Kempen, * @@ -54,7 +54,7 @@ /* Version info. */ #define EMU_VER_MAJOR 0 #define EMU_VER_MINOR 1 -#define EMU_VER_REV 4 +#define EMU_VER_REV 5 //#define EMU_VER_PATCH 1