X-Git-Url: https://git.sur5r.net/?p=iec16022;a=blobdiff_plain;f=reedsol.h;h=b4cad8037af9b52cad7b6114223e419bb328a40c;hp=487b18f251f34af348a03e3cc7744823dac78e68;hb=HEAD;hpb=41a50e0be362adbf81c6dae915aa716f76e897a2 diff --git a/reedsol.h b/reedsol.h index 487b18f..b4cad80 100644 --- a/reedsol.h +++ b/reedsol.h @@ -1,4 +1,4 @@ -/** +/** * * This is a simple Reed-Solomon encoder * (C) Cliff Hones 2004 @@ -17,9 +17,13 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA * - */ + */ + +#ifndef __REEDSOL_H +#define __REEDSOL_H void rs_init_gf(int poly); void rs_init_code(int nsym, int index); void rs_encode(int len, unsigned char *data, unsigned char *res); +#endif /* __REEDSOL_H */