Commit Graph

8 Commits

Author SHA1 Message Date
Matthew Brush 1294791f0c Replace non-standard 'u_int32_t' with 'unsigned int'
Rather than standard uint32_t from stdint.h since it's C99.
Also adjust configure.ac to provide a uint64_t if one isn't available
for use in ctimer.c.
2013-03-07 12:33:57 -08:00
Matthew Brush 9926984543 Remove redundant use of extern storage class specifier 2013-03-04 20:10:32 -08:00
Matthew Brush b1db0ad1ee Properly declare parameterless functions as such
Also use void in the definitions for consistency.
2013-03-04 19:56:12 -08:00
Matthew Brush da501075ce Remove leading _ from header inclusion guards
Identifiers starting with underscore followed by uppercase letter
are reserved identifiers (ex. C99 7.1.3).
2013-03-04 16:08:41 -08:00
Matthew Brush eed54b197b Remove unnecessary forward struct declarations 2013-03-04 16:06:12 -08:00
Matthew Brush 01d2b274b7 Reformat and normalize licenses and headerss
This commit is purely aestetic/taste, nothing important.

I don't really like this *huge* license at the top of every file
but I guess it must stay so add it to some files where it wasn't
included so they are the same. Slightly reformat them.

Unindent extra indentation found in some headers.

Strip trailing whitespace in files and enabled setting in
editor, which caused a lot of noise in this commit but that should
be the end of it.

Remove the comment at the top of each file that said who created
it and when (it will remain in VCS history for reference and was
always Don who created the files).
2013-03-04 15:48:27 -08:00
Matthew Brush dd8b293d22 Fixup header inclusion and C++ guards a bit
* Now headers only include headers they use (at least std headers).
* Remove CFU_DEBUG stuff since NDEBUG automatically controls assert()
* Make use of CFU_BEGIN_DECLS and CFU_END_DECLS macros from cfu.h.
2013-03-04 03:18:47 -08:00
Matthew Brush aed8b7f4da Move headers from include dir to src dir 2013-03-04 02:22:28 -08:00