summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--TODO5
-rw-r--r--config.mk2
-rw-r--r--getgbook.c7
-rw-r--r--util.c1
4 files changed, 6 insertions, 9 deletions
diff --git a/TODO b/TODO
index 2ee5e68..903ab00 100644
--- a/TODO
+++ b/TODO
@@ -9,3 +9,8 @@ to be fast and efficient it's best to crank through all the json 1st, filling in
could consider making a json reading module, ala confoo, to make ad-hoc memory structures from json
to be super fast we could have 2 threads, one filling the pages structs and one consuming them. this would complicate the code rather, though
+
+NOTE: there's now a new api that returns json.
+it requires https, which we don't yet support.
+https://www.googleapis.com/books/v1/volumes?q=isbn:1589235126
+https://www.googleapis.com/books/v1/volumes/jglfL_eVG4cC
diff --git a/config.mk b/config.mk
index 4b143fe..5be8319 100644
--- a/config.mk
+++ b/config.mk
@@ -6,7 +6,7 @@ PREFIX = /usr/local
# flags
CFLAGS = -ansi -pedantic -Wall -Wextra -Werror -g -D_POSIX_C_SOURCE=200112L -DVERSION=\"$(VERSION)\"
-LDFLAGS = -static
+LDFLAGS = -static #-s
# compiler and linker
CC = musl-gcc
diff --git a/getgbook.c b/getgbook.c
index a698694..22fd646 100644
--- a/getgbook.c
+++ b/getgbook.c
@@ -1,11 +1,4 @@
/* See COPYING file for copyright, license and warranty details. */
-
-/* NOTE: there's now a new api that returns json.
- * it requires https, which we don't yet support.
- * https://www.googleapis.com/books/v1/volumes?q=isbn:1589235126
- * https://www.googleapis.com/books/v1/volumes/jglfL_eVG4cC */
-
-
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
diff --git a/util.c b/util.c
index 46dcf16..2cb7c99 100644
--- a/util.c
+++ b/util.c
@@ -1,5 +1,4 @@
/* See COPYING file for copyright, license and warranty details. */
-
#include <unistd.h>
#include <netdb.h>
#include <netinet/in.h>