Add _ to the beginning of all debug macros to avoid name collisions

This commit is contained in:
Gregory Nutt
2016-06-16 12:33:32 -06:00
parent fdaf3d7268
commit 0c8c7fecf0
252 changed files with 1348 additions and 1374 deletions
+2 -2
View File
@@ -103,7 +103,7 @@ int bchdev_unregister(FAR const char *chardev)
fd = open(chardev, O_RDONLY);
if (fd < 0)
{
err("ERROR: Failed to open %s: %d\n", chardev, errno);
_err("ERROR: Failed to open %s: %d\n", chardev, errno);
return -errno;
}
@@ -116,7 +116,7 @@ int bchdev_unregister(FAR const char *chardev)
if (ret < 0)
{
err("ERROR: ioctl failed: %d\n", errno);
_err("ERROR: ioctl failed: %d\n", errno);
return -errno;
}