diff options
author | David Sterba <dsterba@suse.com> | 2017-03-27 14:14:20 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2017-03-31 14:17:48 +0200 |
commit | 11b8ec4aac0e30215f4990cbc6accd55e0a16553 (patch) | |
tree | 80aafa770bddc627fdd987204f2bb2752e75f7a8 /messages.c | |
parent | 230092bc489e81452a4adff0c59aa3390bbba953 (diff) |
btrfs-progs: add prefix to message helpers
The implementation of message helpers use very generic names so we
should at least use a prefix, as they're going to be usied from within
the library. The build fix will follow.
Reported-by: Mike Gilbert <floppym@gentoo.org>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'messages.c')
-rw-r--r-- | messages.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -19,7 +19,7 @@ #include "messages.h" __attribute__ ((format (printf, 1, 2))) -void __warning(const char *fmt, ...) +void __btrfs_warning(const char *fmt, ...) { va_list args; @@ -31,7 +31,7 @@ void __warning(const char *fmt, ...) } __attribute__ ((format (printf, 1, 2))) -void __error(const char *fmt, ...) +void __btrfs_error(const char *fmt, ...) { va_list args; @@ -43,7 +43,7 @@ void __error(const char *fmt, ...) } __attribute__ ((format (printf, 2, 3))) -int __warning_on(int condition, const char *fmt, ...) +int __btrfs_warning_on(int condition, const char *fmt, ...) { va_list args; @@ -60,7 +60,7 @@ int __warning_on(int condition, const char *fmt, ...) } __attribute__ ((format (printf, 2, 3))) -int __error_on(int condition, const char *fmt, ...) +int __btrfs_error_on(int condition, const char *fmt, ...) { va_list args; |