Commit Graph

10 Commits

Author SHA1 Message Date
Matthew Brush 23f8df7618 Remove old cfutime code 2013-03-04 20:17:23 -08:00
Matthew Brush b82a8f4ec6 Add cfutimer which uses more accurate functions if available
This is some code I had previously written, adapted to (mostly)
libcfu coding style. The API is very similar to that of the
existing (to be eventually removed) cfutime.
2013-03-04 19:45:24 -08:00
Matthew Brush 0d7d3bf9c8 Make valid C99 and cleanup warnings using stricter flags
Flags used for these changes:
  -Wall -Wextra -Werror -Wno-unused-parameter -std=c99 -pedantic

Note: the strcasecmp()/strncasecmp() implementations are kind of
a hack and should at least be factored out into a compat file or
some such.
2013-03-04 17:04:33 -08:00
Matthew Brush eb89c4bf8e Use Libtool to enable building shared library 2013-03-04 15:22:09 -08:00
Matthew Brush 5b2f19e1c4 Fix some wrong formatting characters for size_t
The '%lu' isn't stricly right either, but now this commit can be
referred to find locations to fix with the more correct '%zu' or
'PRIuMAX' or whatever is the right thing to use.
2013-03-04 02:46:04 -08:00
Matthew Brush 2aed767bb7 Re-write examples/Makefile.am a bit
This gets the examples compiling again.
2013-03-04 02:35:09 -08:00
Matthew Brush aed8b7f4da Move headers from include dir to src dir 2013-03-04 02:22:28 -08:00
Matthew Brush 1a19591a67 Start fixing up the build system 2013-03-04 01:57:54 -08:00
Matthew Brush bd619f4226 Cleanup built files from initial commit
Add myself to AUTHORS.
There might still be generated files in the doc dir but I don't
know enough about that setup yet to start deleting files.
2013-03-04 01:46:56 -08:00
Matthew Brush f660e3460a Initial commit
All of the files from the tarball downloaded from SourceForge are
being checked in so there's a record of the changes made compared
to it (since I can't find the libcfu source repository). The
generated files will be removed in the following commit.
2013-03-04 01:40:58 -08:00