From d10839ab23b4ac4dea5ba183c451b650dd07331a Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Fri, 9 Feb 2018 10:06:34 +0100 Subject: Move external code to lib and stop using SUBDIRS --- src/fec/rs-common.h | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100644 src/fec/rs-common.h (limited to 'src/fec/rs-common.h') diff --git a/src/fec/rs-common.h b/src/fec/rs-common.h deleted file mode 100644 index e64eb39..0000000 --- a/src/fec/rs-common.h +++ /dev/null @@ -1,26 +0,0 @@ -/* Stuff common to all the general-purpose Reed-Solomon codecs - * Copyright 2004 Phil Karn, KA9Q - * May be used under the terms of the GNU Lesser General Public License (LGPL) - */ - -/* Reed-Solomon codec control block */ -struct rs { - int mm; /* Bits per symbol */ - int nn; /* Symbols per block (= (1<= rs->nn) { - x -= rs->nn; - x = (x >> rs->mm) + (x & rs->nn); - } - return x; -} -- cgit v1.2.3