fzy

terminal fuzzy finder picker

git clone https://9o.is/git/fzy.git

commit 58d0440d7ce760e9b68d5e5202209fb7800eeebd
parent 8d4ff6b5add8c86d5ebcc7a4c584ddfdf3389a03
Author: John Hawthorn <john.hawthorn@gmail.com>
Date:   Wed, 17 Sep 2014 20:22:41 -0700

Add -pedantic, Remove stray ;

Diffstat:
MMakefile | 2+-
Mchoices.c | 3++-
2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile @@ -1,7 +1,7 @@ VERSION=0.1beta CPPFLAGS=-DVERSION=\"${VERSION}\" -CFLAGS+=-Wall -Wextra -g -std=c99 -O3 +CFLAGS+=-Wall -Wextra -g -std=c99 -O3 -pedantic PREFIX?=/usr/local MANDIR?=$(PREFIX)/share/man BINDIR?=$(PREFIX)/bin diff --git a/choices.c b/choices.c @@ -40,10 +40,11 @@ void choices_init(choices_t *c){ c->selection = c->available = 0; choices_resize(c, INITIAL_CAPACITY); } + void choices_free(choices_t *c){ free(c->strings); free(c->results); -}; +} void choices_add(choices_t *c, const char *choice){ if(c->size == c->capacity){