Branch: refs/heads/master
Home:
https://github.com/fabbione/kronosnet
Commit: 04c3c45d2fda9dea006abaf3a37d36e751ceec5a
https://github.com/fabbione/kronosnet/commit/04c3c45d2fda9dea006abaf3a37d36…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2015-03-07 (Sat, 07 Mar 2015)
Changed paths:
M libknet/internals.h
M libknet/onwire.h
M libknet/threads.c
Log Message:
-----------
[internals] Simplify code maintanance by shuffling around some variables
this allows creation of better #define to maintain some parts of the
code related to buffers allocations.
As a bonus, gcc does a better job at packing structs outside of a union
and we save 4 bytes onwire.
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>