You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

49 lines
937 B

  1. --- a/src/command.c
  2. +++ b/src/command.c
  3. @@ -43,6 +43,7 @@
  4. #include <linux/input.h>
  5. #include <linux/ioctl.h>
  6. +#include <sys/wait.h>
  7. #include <stdlib.h>
  8. #include <fcntl.h>
  9. #include <unistd.h>
  10. --- a/src/main.c
  11. +++ b/src/main.c
  12. @@ -54,6 +54,7 @@
  13. #include "debug.h"
  14. #include "command.h"
  15. +#include "parse.h"
  16. #define DEBUGNAME "MAIN: "
  17. --- a/src/parse.c
  18. +++ b/src/parse.c
  19. @@ -58,7 +58,7 @@
  20. extern char * pchProgramName ;
  21. extern char * pchEventDevice ;
  22. -inline void ltrim( char * pchText)
  23. +static void ltrim( char * pchText)
  24. {
  25. if( pchText) {
  26. char * pchTxt = pchText ;
  27. @@ -67,7 +67,7 @@ inline void ltrim( char * pchText)
  28. }
  29. }
  30. -inline void rtrim( char * pchText)
  31. +static void rtrim( char * pchText)
  32. {
  33. if( pchText)
  34. {
  35. @@ -77,7 +77,7 @@ inline void rtrim( char * pchText)
  36. }
  37. }
  38. -inline void trim( char * pchText)
  39. +static void trim( char * pchText)
  40. {
  41. ltrim( pchText) ;
  42. rtrim( pchText) ;