summaryrefslogtreecommitdiff
path: root/tbdiff/tbdiff-stat.h
Commit message (Collapse)AuthorAgeFilesLines
* Remove tbd_stat_print since it's unused and unimplementedBen Brewer2014-06-021-1/+0
|
* Remove tbd_stat_fopen since it's no longer usedBen Brewer2014-06-021-1/+0
| | | | | Since we now use POSIX file functions only in tbdiff-create, we no longer need tbd_stat_fopen, so it's been removed.
* Remove use of typedef to avoid naming conflicts with POSIXBen Brewer2014-06-021-23/+21
| | | | | | | | | | | | POSIX reserves the use of the underscore T postfix for types, since most of the time we don't actually need to typedef the types and since it's more clear to prefix structs and enums with the struct and enum keywords, I've removed all uses of typedef and gone with the more simple approach used in the kernel. One typedef remains which is tbd_cmd_type, since this should be a native type of a fixed size. The postfix changed to type to show that it's a type and to ensure it doesn't collide with POSIX.
* Remove extern keyword since it's not neededBen Brewer2014-06-021-9/+9
| | | | | | The extern keyword is not needed since it's the default property for a function, it also takes up extra space on the line which leads to more wrapping.
* Use correct pointer type for parent member in tbd_stat_tBen Brewer2014-06-021-3/+5
| | | | | | | The parent pointer in tbd_stat_t was void since it pointed to itself, to make the code more clear I've typedef'd the struct above so that the pointer can now point to itself as an incomplete type.
* style: Fix alignment of tbd_stat_t struct membersBen Brewer2014-06-021-3/+3
|
* style: Convert all cpp style comments to c style commentsBen Brewer2014-06-021-2/+2
|
* Switch to a shared tbdiff library and make this an autotools project.Jannis Pohlmann2012-03-221-0/+62
This commit converts tbdiff to being an autotools-based project. This means that we now support the usual autoreconf -i && ./configure && make && make install process, plus we provide 'make check' for the tbdiff test suite. The tbdiff library is now build as a shared library and is also installed into the system for others to use. The library is libtool-versioned and ships a pkg-config file (tbdiff-1.pc). The headers were adjusted so that only tbdiff/tbdiff.h may be included directly; all others are considered internal. The tbdiff-create and tbdiff-deploy tools were changed to include this header file. The tbdiff library is still GPL, not LGPL. We might want to change this in the future. Thanks to switching to autotools we now have a way to make releases by means of 'make dist' and 'make distcheck'. Unfortunately, the latter currently fails, probably due to something being missing in tbdiff/Makefile.am.