| summaryrefslogtreecommitdiff | 
diff options
| author | Nathanael Sensfelder <SpamShield0@MultiAgentSystems.org> | 2015-09-03 11:25:52 +0200 | 
|---|---|---|
| committer | Nathanael Sensfelder <SpamShield0@MultiAgentSystems.org> | 2015-09-03 11:25:52 +0200 | 
| commit | 480288ca001564fa8c9fbdd72be442bbe7ee3d97 (patch) | |
| tree | 9235fe315e5a8d885abfd64cd8c356757de4508c /src/relabsd_device.c | |
| parent | 5867bb8f12f3841a06eed3cd253365be0728c0af (diff) | |
Adds compilation options, renames preprocessor macros to avoid collisions.
Diffstat (limited to 'src/relabsd_device.c')
| -rw-r--r-- | src/relabsd_device.c | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/src/relabsd_device.c b/src/relabsd_device.c index 174f1eb..0ca6993 100644 --- a/src/relabsd_device.c +++ b/src/relabsd_device.c @@ -61,7 +61,7 @@ int relabsd_device_create     if (fd < 0)     { -      _FATAL +      RELABSD_FATAL        (           "Could not open device '%s' in read only mode: %s.",           config->input_file, @@ -73,7 +73,7 @@ int relabsd_device_create     if (libevdev_new_from_fd(fd, &(dev->dev)) < 0)     { -      _FATAL +      RELABSD_FATAL        (           "libevdev could not open '%s': '%s'.",           config->input_file, @@ -103,7 +103,7 @@ int relabsd_device_create         < 0     )     { -      _FATAL("Could not create relabsd device: %s.", strerror(errno)); +      RELABSD_FATAL("Could not create relabsd device: %s.", strerror(errno));        libevdev_free(dev->dev); | 


