aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2020-02-25 17:02:53 +0100
committerPau Espin Pedrol <pespin@sysmocom.de>2020-02-25 17:03:00 +0100
commit93707d02275686780657fc78c72beaa805faf1f1 (patch)
treefc844cccd070eef77c619167755a45c966bf05bf
parentdebug.h: Fix print format of chan in CLOGCHAN (diff)
downloadOsmoTRX-93707d02275686780657fc78c72beaa805faf1f1.tar.xz
OsmoTRX-93707d02275686780657fc78c72beaa805faf1f1.zip
cosmetic: fix several typos found by codespell
Change-Id: Id1f6766572fd313463201e6d03964965f227db25
-rw-r--r--COPYING2
-rw-r--r--CommonLibs/Vector.h2
-rw-r--r--Transceiver52M/signalVector.cpp4
3 files changed, 4 insertions, 4 deletions
diff --git a/COPYING b/COPYING
index 879341e..b1f53c4 100644
--- a/COPYING
+++ b/COPYING
@@ -666,7 +666,7 @@ For more information on this, and how to apply and follow the GNU AGPL, see
=========================================================================
This marks the end of the AGPLv3 text. The following text is appended to the
-same file for convience but constituting a distinct document, not part of the
+same file for convenience but constituting a distinct document, not part of the
actual AGPL text and not part of an attempt to create a deriviative work based
on the AGPLv3 text.
diff --git a/CommonLibs/Vector.h b/CommonLibs/Vector.h
index 012a0fa..d55c5b3 100644
--- a/CommonLibs/Vector.h
+++ b/CommonLibs/Vector.h
@@ -232,7 +232,7 @@ template <class T> class Vector {
assert(mStart+span<=mEnd);
for (i = 0; i < span; i++, src++, dst++)
*dst = *src;
- /*TODO if not non-trivially copyable type class, optimize:
+ /*TODO if not non-trivially copiable type class, optimize:
memcpy(dst,mStart,span*sizeof(T)); */
}
diff --git a/Transceiver52M/signalVector.cpp b/Transceiver52M/signalVector.cpp
index 710eda5..4410156 100644
--- a/Transceiver52M/signalVector.cpp
+++ b/Transceiver52M/signalVector.cpp
@@ -47,7 +47,7 @@ void signalVector::operator=(const signalVector& vector)
complex *src = vector.mData;
for (i = 0; i < size(); i++, src++, dst++)
*dst = *src;
- /* TODO: optimize for non non-trivially copyable types: */
+ /* TODO: optimize for non non-trivially copiable types: */
/*memcpy(mData, vector.mData, bytes()); */
mStart = mData + vector.getStart();
}
@@ -70,7 +70,7 @@ size_t signalVector::updateHistory()
complex *src = mStart + this->size() - num;
for (i = 0; i < num; i++, src++, dst++)
*dst = *src;
- /* TODO: optimize for non non-trivially copyable types: */
+ /* TODO: optimize for non non-trivially copiable types: */
/*memmove(mData, mStart + this->size() - num, num * sizeof(complex)); */
return num;