VJHC code changes and whitespace removals
Jody Bruchon <[email protected]> Thu, 16 Mar 2017 08:55:38 -0400
| Newsgroups | org.kernel.vger.linux-8086 |
|---|---|
| Message-ID | <[email protected]> |
I'm pushing a change to elkscmd/ktcp/vjhc.* that moves various encode/decode functions specified as macros in vjhc.h into vjhc.c as functions. This will slightly reduce VJHC performance due to function call overhead but it cuts code size in vjhc.o by 21%, saving about 2.6K in the final binary: $ size86 vjhc.o* text data bss dec hex filename 12576 14 34 12624 3150 vjhc.o 9913 14 34 9961 26e9 vjhc.o.new $ size86 ktcp* text data bss dec hex filename 33296 916 8176 42388 a594 ktcp.old 30640 916 8176 39732 9b34 ktcp.new If anyone uses SLIP with VJHC, please test this change to make sure it didn't break anything. I've also used sed to kill off trailing whitespace in the entire elks/elkscmd code base. Let me know if this messed anything up; my tests after doing this were OK. -Jody