summaryrefslogtreecommitdiff
path: root/util/oem_hp.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2017-04-14 18:42:48 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2017-04-14 18:42:48 +0200
commitc0cffd791bfaffaad631076141fcdfc000adcac1 (patch)
tree18aa64564a5c0abaf8fb908041de106cca11548b /util/oem_hp.c
parente3a9bfc89256e939ab1c1f56f6961b6ee15aa84a (diff)
New upstream version 3.0.4upstream/3.0.4
Diffstat (limited to 'util/oem_hp.c')
-rw-r--r--util/oem_hp.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/util/oem_hp.c b/util/oem_hp.c
index b7f7d07..081ea6f 100644
--- a/util/oem_hp.c
+++ b/util/oem_hp.c
@@ -44,6 +44,9 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include "ievents.h"
#include "isensor.h"
+static char * progver = "3.04";
+static char * progname = "ihpoem";
+
static char *redund_str(uchar b)
{
char *pstr;
@@ -153,4 +156,11 @@ void show_oemsdr_hp(uchar *sdr)
return;
}
+#ifdef METACOMMAND
+int i_hpoem(int argc, char **argv)
+{
+ printf("%s ver %s\n", progname,progver);
+ return(0);
+}
+#endif
/* end oem_hp.c */