Subversion Repositories shark

Compare Revisions

Ignore whitespace Rev 1038 → Rev 1037

/shark/trunk/config/libdep.mk
163,12 → 163,10
endif
 
# fs
ifeq ($(findstring YES,$(SHARK_FS)) , YES)
ifeq ($(LIB_PATH)/libfs.a,$(wildcard $(LIB_PATH)/libfs.a))
LINK_LIB += -lfs
LIB_DEP += $(LIB_PATH)/libfs.a
endif
endif
 
# c
ifeq ($(LIB_PATH)/libc.a,$(wildcard $(LIB_PATH)/libc.a))
/shark/trunk/libc/stdio/printf.c
60,8 → 60,7
{
int ret;
va_list ap;
#ifdef __SHARK_FS_SUPPORT__
 
#if __STDC__
va_start(ap, fmt);
#else
68,9 → 67,6
va_start(ap);
#endif
ret = vfprintf(stdout, fmt, ap);
#else
ret = cprintf(fmt, ap); // Remap to the cprintf if the Shark FS is not present
#endif
va_end(ap);
return (ret);
}