summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick White <hg@njw.me.uk>2011-07-17 00:03:36 +0100
committerNick White <hg@njw.me.uk>2011-07-17 00:03:36 +0100
commit8833643928f69df99ae3394a53aa2855f7a02000 (patch)
tree283a6efeeb5abb3d33565bd259a8b524373f720e
parent16540dfbb2bda2a9d6873c070f3d6728470e07b8 (diff)
Busywork neatening
-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>