# HG changeset patch
# User Mychaela Falconia <falcon@freecalypso.org>
# Date 1518505337 0
# Node ID 4c3f4231a021e8430ba816cdb851a2812cd7bbe2
# Parent  4ce87a30383f0bc1084709b32320439b430b6d5a
autocal: vout_t definition factored out of txband.h into txvout.h

diff -r 4ce87a30383f -r 4c3f4231a021 autocal/txband.h
--- a/autocal/txband.h	Tue Feb 13 06:22:32 2018 +0000
+++ b/autocal/txband.h	Tue Feb 13 07:02:17 2018 +0000
@@ -21,8 +21,6 @@
 #define	MAX_BASIS_POINTS	15
 #define	MAX_TX_LEVELS		16
 
-typedef double vout_t;
-
 struct tx_basis_point {
 	unsigned	apc;
 	vout_t		vout;
diff -r 4ce87a30383f -r 4c3f4231a021 autocal/txbandmain.c
--- a/autocal/txbandmain.c	Tue Feb 13 06:22:32 2018 +0000
+++ b/autocal/txbandmain.c	Tue Feb 13 07:02:17 2018 +0000
@@ -9,6 +9,7 @@
 #include <unistd.h>
 #include <rvinterf/l1tm.h>
 #include <rvinterf/exitcodes.h>
+#include "txvout.h"
 #include "txband.h"
 #include "stdband.h"
 
diff -r 4ce87a30383f -r 4c3f4231a021 autocal/txbasis.c
--- a/autocal/txbasis.c	Tue Feb 13 06:22:32 2018 +0000
+++ b/autocal/txbasis.c	Tue Feb 13 07:02:17 2018 +0000
@@ -7,6 +7,7 @@
 #include <stdlib.h>
 #include <rvinterf/l1tm.h>
 #include <rvinterf/exitcodes.h>
+#include "txvout.h"
 #include "txband.h"
 
 extern double tx_power_meas();
diff -r 4ce87a30383f -r 4c3f4231a021 autocal/txcalchan.c
--- a/autocal/txcalchan.c	Tue Feb 13 06:22:32 2018 +0000
+++ b/autocal/txcalchan.c	Tue Feb 13 07:02:17 2018 +0000
@@ -8,6 +8,7 @@
 #include <endian.h>
 #include <rvinterf/l1tm.h>
 #include <rvinterf/exitcodes.h>
+#include "txvout.h"
 #include "txband.h"
 #include "txcalchan.h"
 
diff -r 4ce87a30383f -r 4c3f4231a021 autocal/txcalconf.c
--- a/autocal/txcalconf.c	Tue Feb 13 06:22:32 2018 +0000
+++ b/autocal/txcalconf.c	Tue Feb 13 07:02:17 2018 +0000
@@ -9,6 +9,7 @@
 #include <string.h>
 #include <strings.h>
 #include <rvinterf/exitcodes.h>
+#include "txvout.h"
 #include "txband.h"
 
 char txlevels_directory[] = "/opt/freecalypso/rfcal/txlevels";
diff -r 4ce87a30383f -r 4c3f4231a021 autocal/txlevels.c
--- a/autocal/txlevels.c	Tue Feb 13 06:22:32 2018 +0000
+++ b/autocal/txlevels.c	Tue Feb 13 07:02:17 2018 +0000
@@ -7,6 +7,7 @@
 #include <stdlib.h>
 #include <rvinterf/l1tm.h>
 #include <rvinterf/exitcodes.h>
+#include "txvout.h"
 #include "txband.h"
 
 extern double tx_power_meas();
diff -r 4ce87a30383f -r 4c3f4231a021 autocal/txvout.c
--- a/autocal/txvout.c	Tue Feb 13 06:22:32 2018 +0000
+++ b/autocal/txvout.c	Tue Feb 13 07:02:17 2018 +0000
@@ -5,7 +5,7 @@
  */
 
 #include <math.h>
-#include "txband.h"
+#include "txvout.h"
 
 vout_t
 dbm_to_vout(dbm)
diff -r 4ce87a30383f -r 4c3f4231a021 autocal/txvout.h
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/autocal/txvout.h	Tue Feb 13 07:02:17 2018 +0000
@@ -0,0 +1,3 @@
+/* vout_t definition */
+
+typedef double vout_t;