Commit 824bccd3f694b83bde486d765cc52d5ef1c38d79

Authored by Imanol-Mikel Barba Sabariego
1 parent bba49d9e

--no commit message

plexers/Makefile
... ... @@ -18,4 +18,4 @@ encoder:
18 18 decoder:
19 19 gcc -I../common/ ../common/auxiliar.c decoder.c -o decoder
20 20 bit_selector:
21   - gcc -I../common/ ../common/auxiliar.c bit_selector.c -o bit_selector
  21 + gcc -I../common/ ../common/auxiliar.c bit_selector.c -o bit_selector -lm
... ...
plexers/decoder.c
1 1 #include <stdio.h>
2 2 #include <string.h>
3 3 #include "auxiliar.h"
4   -#include <math.h>
5 4  
6 5 int main(int argc, char **argv)
7 6 {
... ...
plexers/demultiplexor.c
1 1 #include <stdio.h>
2 2 #include <string.h>
3 3 #include "auxiliar.h"
4   -#include <math.h>
5 4  
6 5 int main(int argc, char **argv)
7 6 {
... ...
plexers/encoder.c
1 1 #include <stdio.h>
2 2 #include <string.h>
3 3 #include "auxiliar.h"
4   -#include <math.h>
5 4  
6 5 int check_length(char **inputs, uint8_t num_inputs)
7 6 {
... ...
plexers/multiplexor.c
1 1 #include <stdio.h>
2 2 #include <string.h>
3 3 #include "auxiliar.h"
4   -#include <math.h>
5 4  
6 5 int check_length(char **inputs, uint8_t num_inputs)
7 6 {
... ...