some style adjustments

This commit is contained in:
bg 2013-09-20 02:10:15 +02:00
parent b3cf9d2f35
commit 6e767be64b
3 changed files with 44 additions and 52 deletions

View File

@ -80,7 +80,7 @@ endef
define TargetSourceList_Template
$(1): $(2)
@mkdir -p $(dir $(1)) $(DEP_DIR)
@echo "[cc]: $(1) <-- $(2)"
@echo "[lst]: $(1) <-- $(2)"
@$(CC) $(CFLAGS_A) $(addprefix -I./,$(3)) $(addprefix -D, $(4)) $(LIST_OPT) -c -o /dev/null $(2) > $(1)
endef

View File

@ -31,15 +31,7 @@ void bigint_print_hex(const bigint_t *a){
if (a->info&BIGINT_NEG_MASK) {
cli_putc('-');
}
// cli_putc((a->info&BIGINT_NEG_MASK)?'-':'+'); /* print sign */
/* if(a->wordv[a->length_W-1]<0x10){
cli_putc(hexdigit_tab_uc[a->wordv[a->length_W-1]]);
cli_hexdump_rev(a->wordv, a->length_W-1);
} else {
*/
// cli_hexdump_rev(a->wordv, a->length_W*sizeof(bigint_word_t));
// }
uint32_t idx;
size_t idx;
uint8_t print_zero = 0;
uint8_t *p, x, y;
p = (uint8_t*)&(a->wordv[a->length_W - 1]) + sizeof(bigint_word_t) - 1;