Mercurial > forge
changeset 9515:60807b7f0136 octave-forge
control: add header file common.h to individual .cc files
line wrap: on
line diff
--- a/main/control/src/control_slicot_functions.cc Sun Feb 26 20:07:08 2012 +0000 +++ b/main/control/src/control_slicot_functions.cc Sun Feb 26 20:15:00 2012 +0000 @@ -1,5 +1,3 @@ -#include "common.h" // common code for all functions of the oct-file - #include "slab08nd.cc" // transmission zeros of state-space models #include "slab13dd.cc" // L-infinity norm #include "slsb10hd.cc" // H-2 controller synthesis - continuous-time
--- a/main/control/src/slab01od.cc Sun Feb 26 20:07:08 2012 +0000 +++ b/main/control/src/slab01od.cc Sun Feb 26 20:15:00 2012 +0000 @@ -29,7 +29,7 @@ #include <octave/oct.h> #include <f77-fcn.h> -//#include "common.cc" +#include "common.h" extern "C" {
--- a/main/control/src/slab04md.cc Sun Feb 26 20:07:08 2012 +0000 +++ b/main/control/src/slab04md.cc Sun Feb 26 20:15:00 2012 +0000 @@ -30,7 +30,7 @@ #include <octave/oct.h> #include <f77-fcn.h> -//#include "common.cc" +#include "common.h" extern "C" {
--- a/main/control/src/slab08nd.cc Sun Feb 26 20:07:08 2012 +0000 +++ b/main/control/src/slab08nd.cc Sun Feb 26 20:15:00 2012 +0000 @@ -29,7 +29,7 @@ #include <octave/oct.h> #include <f77-fcn.h> -//#include "common.cc" +#include "common.h" #include <complex> #include <xpow.h>
--- a/main/control/src/slab09hd.cc Sun Feb 26 20:07:08 2012 +0000 +++ b/main/control/src/slab09hd.cc Sun Feb 26 20:15:00 2012 +0000 @@ -29,7 +29,7 @@ #include <octave/oct.h> #include <f77-fcn.h> -//#include "common.cc" +#include "common.h" extern "C" {
--- a/main/control/src/slab09id.cc Sun Feb 26 20:07:08 2012 +0000 +++ b/main/control/src/slab09id.cc Sun Feb 26 20:15:00 2012 +0000 @@ -30,7 +30,7 @@ #include <octave/oct.h> #include <f77-fcn.h> -//#include "common.cc" +#include "common.h" extern "C" {
--- a/main/control/src/slab09jd.cc Sun Feb 26 20:07:08 2012 +0000 +++ b/main/control/src/slab09jd.cc Sun Feb 26 20:15:00 2012 +0000 @@ -29,7 +29,7 @@ #include <octave/oct.h> #include <f77-fcn.h> -//#include "common.cc" +#include "common.h" extern "C" {
--- a/main/control/src/slab13ad.cc Sun Feb 26 20:07:08 2012 +0000 +++ b/main/control/src/slab13ad.cc Sun Feb 26 20:15:00 2012 +0000 @@ -29,7 +29,7 @@ #include <octave/oct.h> #include <f77-fcn.h> -//#include "common.cc" +#include "common.h" extern "C" {
--- a/main/control/src/slab13bd.cc Sun Feb 26 20:07:08 2012 +0000 +++ b/main/control/src/slab13bd.cc Sun Feb 26 20:15:00 2012 +0000 @@ -29,7 +29,7 @@ #include <octave/oct.h> #include <f77-fcn.h> -//#include "common.cc" +#include "common.h" extern "C" {
--- a/main/control/src/slab13dd.cc Sun Feb 26 20:07:08 2012 +0000 +++ b/main/control/src/slab13dd.cc Sun Feb 26 20:15:00 2012 +0000 @@ -30,7 +30,7 @@ #include <octave/oct.h> #include <f77-fcn.h> #include <complex> -//#include "common.cc" +#include "common.h" extern "C" {
--- a/main/control/src/slag08bd.cc Sun Feb 26 20:07:08 2012 +0000 +++ b/main/control/src/slag08bd.cc Sun Feb 26 20:15:00 2012 +0000 @@ -29,7 +29,7 @@ #include <octave/oct.h> #include <f77-fcn.h> -//#include "common.cc" +#include "common.h" #include <complex> #include <xpow.h>
--- a/main/control/src/slsb01bd.cc Sun Feb 26 20:07:08 2012 +0000 +++ b/main/control/src/slsb01bd.cc Sun Feb 26 20:15:00 2012 +0000 @@ -29,7 +29,7 @@ #include <octave/oct.h> #include <f77-fcn.h> -//#include "common.cc" +#include "common.h" extern "C" {
--- a/main/control/src/slsb02od.cc Sun Feb 26 20:07:08 2012 +0000 +++ b/main/control/src/slsb02od.cc Sun Feb 26 20:15:00 2012 +0000 @@ -29,7 +29,7 @@ #include <octave/oct.h> #include <f77-fcn.h> -//#include "common.cc" +#include "common.h" #include <complex> extern "C"
--- a/main/control/src/slsb03md.cc Sun Feb 26 20:07:08 2012 +0000 +++ b/main/control/src/slsb03md.cc Sun Feb 26 20:15:00 2012 +0000 @@ -29,7 +29,7 @@ #include <octave/oct.h> #include <f77-fcn.h> -//#include "common.cc" +#include "common.h" extern "C" {
--- a/main/control/src/slsb03od.cc Sun Feb 26 20:07:08 2012 +0000 +++ b/main/control/src/slsb03od.cc Sun Feb 26 20:15:00 2012 +0000 @@ -29,7 +29,7 @@ #include <octave/oct.h> #include <f77-fcn.h> -//#include "common.cc" +#include "common.h" extern "C" {
--- a/main/control/src/slsb04md.cc Sun Feb 26 20:07:08 2012 +0000 +++ b/main/control/src/slsb04md.cc Sun Feb 26 20:15:00 2012 +0000 @@ -29,7 +29,7 @@ #include <octave/oct.h> #include <f77-fcn.h> -//#include "common.cc" +#include "common.h" extern "C" {
--- a/main/control/src/slsb04qd.cc Sun Feb 26 20:07:08 2012 +0000 +++ b/main/control/src/slsb04qd.cc Sun Feb 26 20:15:00 2012 +0000 @@ -29,7 +29,7 @@ #include <octave/oct.h> #include <f77-fcn.h> -//#include "common.cc" +#include "common.h" extern "C" {
--- a/main/control/src/slsb10dd.cc Sun Feb 26 20:07:08 2012 +0000 +++ b/main/control/src/slsb10dd.cc Sun Feb 26 20:15:00 2012 +0000 @@ -29,7 +29,7 @@ #include <octave/oct.h> #include <f77-fcn.h> -//#include "common.cc" +#include "common.h" extern "C" {
--- a/main/control/src/slsb10ed.cc Sun Feb 26 20:07:08 2012 +0000 +++ b/main/control/src/slsb10ed.cc Sun Feb 26 20:15:00 2012 +0000 @@ -29,7 +29,7 @@ #include <octave/oct.h> #include <f77-fcn.h> -//#include "common.cc" +#include "common.h" extern "C" {
--- a/main/control/src/slsb10fd.cc Sun Feb 26 20:07:08 2012 +0000 +++ b/main/control/src/slsb10fd.cc Sun Feb 26 20:15:00 2012 +0000 @@ -29,7 +29,7 @@ #include <octave/oct.h> #include <f77-fcn.h> -//#include "common.cc" +#include "common.h" extern "C" {
--- a/main/control/src/slsb10hd.cc Sun Feb 26 20:07:08 2012 +0000 +++ b/main/control/src/slsb10hd.cc Sun Feb 26 20:15:00 2012 +0000 @@ -29,7 +29,7 @@ #include <octave/oct.h> #include <f77-fcn.h> -//#include "common.cc" +#include "common.h" extern "C" {
--- a/main/control/src/slsb10id.cc Sun Feb 26 20:07:08 2012 +0000 +++ b/main/control/src/slsb10id.cc Sun Feb 26 20:15:00 2012 +0000 @@ -29,7 +29,7 @@ #include <octave/oct.h> #include <f77-fcn.h> -//#include "common.cc" +#include "common.h" extern "C" {
--- a/main/control/src/slsb10jd.cc Sun Feb 26 20:07:08 2012 +0000 +++ b/main/control/src/slsb10jd.cc Sun Feb 26 20:15:00 2012 +0000 @@ -29,7 +29,7 @@ #include <octave/oct.h> #include <f77-fcn.h> -//#include "common.cc" +#include "common.h" extern "C" {
--- a/main/control/src/slsb10kd.cc Sun Feb 26 20:07:08 2012 +0000 +++ b/main/control/src/slsb10kd.cc Sun Feb 26 20:15:00 2012 +0000 @@ -29,7 +29,7 @@ #include <octave/oct.h> #include <f77-fcn.h> -//#include "common.cc" +#include "common.h" extern "C" {
--- a/main/control/src/slsb10yd.cc Sun Feb 26 20:07:08 2012 +0000 +++ b/main/control/src/slsb10yd.cc Sun Feb 26 20:15:00 2012 +0000 @@ -30,7 +30,7 @@ #include <octave/oct.h> #include <f77-fcn.h> #include <complex> -//#include "common.cc" +#include "common.h" extern "C" {
--- a/main/control/src/slsb10zd.cc Sun Feb 26 20:07:08 2012 +0000 +++ b/main/control/src/slsb10zd.cc Sun Feb 26 20:15:00 2012 +0000 @@ -29,7 +29,7 @@ #include <octave/oct.h> #include <f77-fcn.h> -//#include "common.cc" +#include "common.h" extern "C" {
--- a/main/control/src/slsb16ad.cc Sun Feb 26 20:07:08 2012 +0000 +++ b/main/control/src/slsb16ad.cc Sun Feb 26 20:15:00 2012 +0000 @@ -30,7 +30,7 @@ #include <octave/oct.h> #include <f77-fcn.h> -//#include "common.cc" +#include "common.h" extern "C" {
--- a/main/control/src/slsb16bd.cc Sun Feb 26 20:07:08 2012 +0000 +++ b/main/control/src/slsb16bd.cc Sun Feb 26 20:15:00 2012 +0000 @@ -29,7 +29,7 @@ #include <octave/oct.h> #include <f77-fcn.h> -//#include "common.cc" +#include "common.h" extern "C" {
--- a/main/control/src/slsb16cd.cc Sun Feb 26 20:07:08 2012 +0000 +++ b/main/control/src/slsb16cd.cc Sun Feb 26 20:15:00 2012 +0000 @@ -29,7 +29,7 @@ #include <octave/oct.h> #include <f77-fcn.h> -//#include "common.cc" +#include "common.h" extern "C" {
--- a/main/control/src/slsg02ad.cc Sun Feb 26 20:07:08 2012 +0000 +++ b/main/control/src/slsg02ad.cc Sun Feb 26 20:15:00 2012 +0000 @@ -29,7 +29,7 @@ #include <octave/oct.h> #include <f77-fcn.h> -//#include "common.cc" +#include "common.h" #include <complex> extern "C"
--- a/main/control/src/slsg03ad.cc Sun Feb 26 20:07:08 2012 +0000 +++ b/main/control/src/slsg03ad.cc Sun Feb 26 20:15:00 2012 +0000 @@ -29,7 +29,7 @@ #include <octave/oct.h> #include <f77-fcn.h> -//#include "common.cc" +#include "common.h" extern "C" {
--- a/main/control/src/slsg03bd.cc Sun Feb 26 20:07:08 2012 +0000 +++ b/main/control/src/slsg03bd.cc Sun Feb 26 20:15:00 2012 +0000 @@ -29,7 +29,7 @@ #include <octave/oct.h> #include <f77-fcn.h> -//#include "common.cc" +#include "common.h" extern "C" {
--- a/main/control/src/sltb01id.cc Sun Feb 26 20:07:08 2012 +0000 +++ b/main/control/src/sltb01id.cc Sun Feb 26 20:15:00 2012 +0000 @@ -29,7 +29,7 @@ #include <octave/oct.h> #include <f77-fcn.h> -//#include "common.cc" +#include "common.h" extern "C" {
--- a/main/control/src/sltb01pd.cc Sun Feb 26 20:07:08 2012 +0000 +++ b/main/control/src/sltb01pd.cc Sun Feb 26 20:15:00 2012 +0000 @@ -29,7 +29,7 @@ #include <octave/oct.h> #include <f77-fcn.h> -//#include "common.cc" +#include "common.h" extern "C" {
--- a/main/control/src/sltb01ud.cc Sun Feb 26 20:07:08 2012 +0000 +++ b/main/control/src/sltb01ud.cc Sun Feb 26 20:15:00 2012 +0000 @@ -29,7 +29,7 @@ #include <octave/oct.h> #include <f77-fcn.h> -//#include "common.cc" +#include "common.h" extern "C" {
--- a/main/control/src/sltb04bd.cc Sun Feb 26 20:07:08 2012 +0000 +++ b/main/control/src/sltb04bd.cc Sun Feb 26 20:15:00 2012 +0000 @@ -30,7 +30,7 @@ #include <octave/oct.h> #include <f77-fcn.h> -//#include "common.cc" +#include "common.h" extern "C" {
--- a/main/control/src/sltd04ad.cc Sun Feb 26 20:07:08 2012 +0000 +++ b/main/control/src/sltd04ad.cc Sun Feb 26 20:15:00 2012 +0000 @@ -32,7 +32,7 @@ #include <octave/oct.h> #include <f77-fcn.h> -//#include "common.cc" +#include "common.h" extern "C" {
--- a/main/control/src/sltg01ad.cc Sun Feb 26 20:07:08 2012 +0000 +++ b/main/control/src/sltg01ad.cc Sun Feb 26 20:15:00 2012 +0000 @@ -29,7 +29,7 @@ #include <octave/oct.h> #include <f77-fcn.h> -//#include "common.cc" +#include "common.h" extern "C" {
--- a/main/control/src/sltg01hd.cc Sun Feb 26 20:07:08 2012 +0000 +++ b/main/control/src/sltg01hd.cc Sun Feb 26 20:15:00 2012 +0000 @@ -29,7 +29,7 @@ #include <octave/oct.h> #include <f77-fcn.h> -//#include "common.cc" +#include "common.h" extern "C" {
--- a/main/control/src/sltg01id.cc Sun Feb 26 20:07:08 2012 +0000 +++ b/main/control/src/sltg01id.cc Sun Feb 26 20:15:00 2012 +0000 @@ -29,7 +29,7 @@ #include <octave/oct.h> #include <f77-fcn.h> -//#include "common.cc" +#include "common.h" extern "C" {