General cleanups, and argument validations.
authorJustin Wind <justin.wind@gmail.com>
Tue, 26 Feb 2013 22:08:03 +0000 (14:08 -0800)
committerJustin Wind <justin.wind@gmail.com>
Tue, 26 Feb 2013 22:08:03 +0000 (14:08 -0800)
commitc09f96c65c1d62b2f21bf592e5927c3e07e2906b
treecadb352ca6f381e2a38b13581039886ed8492870
parentb3b907c563ea44e7129cbb474740ea55459b1533
General cleanups, and argument validations.

Unified textual style in comments.
Fixed wrong option identifier in usage_().
Added _del() to match _new() call in module interfaces.
Numeric command-line arguments now do basic error-checking, but still do no sane range-checking yet.
Added simple statistical test to 'make check' target.
Makefile
buf.c
buf.h
reservoir.c
reservoir.h
reservoir_sample.c
test/validate-statistics.sh [new file with mode: 0755]