• Alessandro Rubini's avatar
    general (for bmc.c): turn ClockIdentity into a structure · f9f487ff
    Alessandro Rubini authored
    This "type" was the only type represented as an array instead of
    being a structure. This leads to inconsistent use: if you memcpy
    the other ones you need "&", but not here.
    
    So this commit uses an encompassing structure, to have ClockIdentity
    behave like other composite fields.  The commit has no effect at all
    on the generated binary files for wrpc but it unexpectedly reduces the
    size of the output on the PC. Anyways, the commit is trivial, and all
    changes can be easily verified to have no effect.
    
    While this increases entropy, the reasoning is that I want to assign
    structures instead of running zillions of memcpy functions, with the
    hairy PP_CLOCK_IDENTITY_LENGTH.  So later commits, based on this one,
    reduce entropy.
    Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
    f9f487ff
Name
Last commit
Last update
arch-bare-i386 Loading commit data...
arch-bare-x86-64 Loading commit data...
arch-gnu-linux Loading commit data...
arch-wrpc Loading commit data...
doc Loading commit data...
include/ppsi Loading commit data...
lib Loading commit data...
lib-bare Loading commit data...
pp_printf Loading commit data...
proto-ext-whiterabbit Loading commit data...
proto-standard Loading commit data...
tools Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
COPYING.LIB Loading commit data...
MAKEALL Loading commit data...
Makefile Loading commit data...
diag.c Loading commit data...
fsm.c Loading commit data...