aboutsummaryrefslogtreecommitdiffstats
path: root/Transceiver52M/common/convert.h
diff options
context:
space:
mode:
authorTom Tsou <tom@tsou.cc>2015-03-25 12:55:11 -0700
committerTom Tsou <tom.tsou@ettus.com>2015-08-21 19:31:24 -0700
commitf147b174475171cdf79ccba25a5e66fec282efcd (patch)
treeea18554ae3a1cccfa6c8b0d5f4ee565db516e266 /Transceiver52M/common/convert.h
parentd4d3daa12ea5491f4b6ba03805d4a2d3f068bc11 (diff)
sigproc: Make convolution and convert input buffers immutable
For good practice, use const specifier when applicable. Signed-off-by: Tom Tsou <tom@tsou.cc>
Diffstat (limited to 'Transceiver52M/common/convert.h')
-rw-r--r--Transceiver52M/common/convert.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Transceiver52M/common/convert.h b/Transceiver52M/common/convert.h
index 5b557bf..4827c28 100644
--- a/Transceiver52M/common/convert.h
+++ b/Transceiver52M/common/convert.h
@@ -1,7 +1,7 @@
#ifndef _CONVERT_H_
#define _CONVERT_H_
-void convert_float_short(short *out, float *in, float scale, int len);
-void convert_short_float(float *out, short *in, int len);
+void convert_float_short(short *out, const float *in, float scale, int len);
+void convert_short_float(float *out, const short *in, int len);
#endif /* _CONVERT_H_ */