• Alessandro Rubini's avatar
    general: fix sent_seq_id in ppi structure · 493dee1e
    Alessandro Rubini authored
    The structure was separately allocated with a size of 16.  This avoids
    the alloc and makes the array the right size from the enum of message
    types. We thus a remove a number of magic "16" in the code.
    wrpc-sw must be updated too, in order to use this commit.
    
    There's still a problem: the code claims the number to be "last sent",
    but actually the value is incremented after sending. I'll need to pass
    again on this thing.
    
    ps: I changed name from "sent_seq_id" to "sent_seq" to the compiler
    complains for previous users, otherwise undetectable.
    Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
    493dee1e
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...
diag Loading commit data...
doc Loading commit data...
include/ppsi Loading commit data...
lib 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...
fsm.c Loading commit data...