diff --git a/include/hamlib/rig.h b/include/hamlib/rig.h index c5ec621fc..424f404e0 100644 --- a/include/hamlib/rig.h +++ b/include/hamlib/rig.h @@ -3476,6 +3476,8 @@ extern HAMLIB_EXPORT(int) rig_get_lock_mode(RIG *rig, int *lock); extern HAMLIB_EXPORT(int) rig_is_model(RIG *rig, rig_model_t model); +extern HAMLIB_EXPORT(char*) rig_date_strget(char *buf, int buflen, int localtime); + //! @endcond diff --git a/src/misc.c b/src/misc.c index 467198065..8a3b1c4ee 100644 --- a/src/misc.c +++ b/src/misc.c @@ -2723,6 +2723,11 @@ char *date_strget(char *buf, int buflen, int localtime) return buf; } +char *rig_date_strget(char *buf, int buflen, int localtime) +{ + return date_strget(buf,buflen,localtime); +} + const char *spaces() { static char *s = " ";