disco: disable warrnings (disables rng)

This commit is contained in:
Henry Case 2018-12-08 21:39:35 +00:00
parent 06e0c8df2f
commit 158880cda3
2 changed files with 5 additions and 5 deletions

View File

@ -1,12 +1,12 @@
TARGET := disco.elf
LOCAL_CFLAGS := -Os -fno-builtin-printf -Isrc
LOCAL_CFLAGS := -Os -fno-builtin-printf -Isrc -Wextra -pedantic
LOCAL_SRC_C := \
tests/test_disco.c \
src/disco_asymmetric.c \
src/disco_symmetric.c \
src/tweetstrobe.c \
src/tweetX25519.c \
src/devurandom.c
src/devurandom.c \
tests/test_disco.c
include ../conf/toolchain.mk
include ../conf/sdk.mk

View File

@ -2,7 +2,7 @@
#include <unistd.h>
static int fd = -1;
void randombytes(unsigned char *x, unsigned long long xlen) {
/* TODO */
/* TODO */
(void)fd,(void)x,(void)xlen;
}