diff options
| author | Peter Hutterer <peter.hutterer@who-t.net> | 2014-08-18 14:03:43 +1000 |
|---|---|---|
| committer | Peter Hutterer <peter.hutterer@who-t.net> | 2014-08-20 16:43:58 +1000 |
| commit | e4c315fc160355958c8db98c0b762e9d2d3bbdb9 (patch) | |
| tree | fcf5e7a10d577e2318a34b5d81cb74a53fe61747 /libevdev/libevdev.c | |
| parent | 8742e1e34618f0d55085e009ed3e61ef12092e2d (diff) | |
| download | libevdev-e4c315fc160355958c8db98c0b762e9d2d3bbdb9.tar.gz | |
Rename symbols leaking from static library to avoid name clashes
The static library currently leaks log_msg and log_priority. Both are too
generic, so rename them, with a leading underscore to hint they're supposed to
be private.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'libevdev/libevdev.c')
| -rw-r--r-- | libevdev/libevdev.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libevdev/libevdev.c b/libevdev/libevdev.c index 903a286..6831e68 100644 --- a/libevdev/libevdev.c +++ b/libevdev/libevdev.c @@ -136,10 +136,10 @@ static struct logdata log_data = { }; void -log_msg(const struct libevdev *dev, - enum libevdev_log_priority priority, - const char *file, int line, const char *func, - const char *format, ...) +_libevdev_log_msg(const struct libevdev *dev, + enum libevdev_log_priority priority, + const char *file, int line, const char *func, + const char *format, ...) { va_list args; @@ -275,7 +275,7 @@ libevdev_set_device_log_function(struct libevdev *dev, } enum libevdev_log_priority -log_priority(const struct libevdev *dev) +_libevdev_log_priority(const struct libevdev *dev) { if (dev && dev->log.device_handler) return dev->log.priority; |
