Minor compile cleanup
- Add .gitignore
- Changed ASFVOLT_LOG macro to recognize printf paramter warnings
- Removed -Wno-sign-compare from make. Fix warning in the source.
Change-Id: I5d98b327d906e980509ce071b5060c95635746a1
diff --git a/src/asfvolt16_driver.h b/src/asfvolt16_driver.h
index db74e62..5ee1a98 100755
--- a/src/asfvolt16_driver.h
+++ b/src/asfvolt16_driver.h
@@ -44,11 +44,11 @@
char bal_shared_lib_ip_port[24];
}balCoreIpInfo;
-#define ASFVOLT_LOG(log_type, args...) \
+#define ASFVOLT_LOG(log_type, format, args...) \
if(log_type) \
{\
printf("File(%s): Line(%d): ", __FUNCTION__, __LINE__);\
- printf(args);\
+ printf(format, ## args);\
}