summaryrefslogtreecommitdiff
path: root/util/oem_quanta.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2017-04-14 18:42:54 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2017-04-14 18:42:54 +0200
commita8f1f2fbd1fe78c185b5c320c11d0265b49f8668 (patch)
tree869216c945841ed46e2ca4b69af46f54a738d3cd /util/oem_quanta.c
parent42de6cdd540e080b6e34e5e27cb8c44151711010 (diff)
parentc0cffd791bfaffaad631076141fcdfc000adcac1 (diff)
Merge tag 'upstream/3.0.4'
Upstream version 3.0.4
Diffstat (limited to 'util/oem_quanta.c')
-rw-r--r--util/oem_quanta.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/util/oem_quanta.c b/util/oem_quanta.c
index a0ee3bb..a6cfd6a 100644
--- a/util/oem_quanta.c
+++ b/util/oem_quanta.c
@@ -45,6 +45,8 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
extern int decode_sensor_intel_nm(uchar *sdr,uchar *reading,
char *pstring,int slen); /*oem_intel.c*/
+static char * progver = "3.04";
+static char * progname = "iquantaoem";
static char fdbg = 0;
/*
@@ -139,4 +141,11 @@ int decode_sel_quanta(uchar *evt, char *outbuf, int outsz, char fdesc,
return(rv);
}
+#ifdef METACOMMAND
+int i_quantaoem(int argc, char **argv)
+{
+ printf("%s ver %s\n", progname,progver);
+ return(0);
+}
+#endif
/* end oem_quanta.c */