| 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/main.c | |
| parent | 5867bb8f12f3841a06eed3cd253365be0728c0af (diff) | |
Adds compilation options, renames preprocessor macros to avoid collisions.
Diffstat (limited to 'src/main.c')
| -rw-r--r-- | src/main.c | 8 | 
1 files changed, 4 insertions, 4 deletions
| @@ -16,7 +16,7 @@ static void interrupt (int unused_mandatory_parameter)  {     RELABSD_RUN = 0; -   _S_WARNING("Interrupted, will exit at the next input device event."); +   RELABSD_S_WARNING("Interrupted, will exit at the next input device event.");  }  static void handle_relative_axis_event @@ -90,7 +90,7 @@ static int set_signal_handlers ()  {     if (signal(SIGINT, interrupt) == SIG_ERR)     { -      _S_FATAL("Unable to set the SIGINT signal handler."); +      RELABSD_S_FATAL("Unable to set the SIGINT signal handler.");        return -1;     } @@ -124,11 +124,11 @@ int main (int argc, char ** argv)        return -4;     } -   _S_DEBUG(10, "Converting inputs..."); +   RELABSD_S_DEBUG(10, "Converting inputs...");     convert_input(&conf, &input, &dev); -   _S_DEBUG(10, "Terminating..."); +   RELABSD_S_DEBUG(10, "Terminating...");     relabsd_device_destroy(&dev);     relabsd_input_close(&input); | 


