]> rtime.felk.cvut.cz Git - can-utils.git/commitdiff
slcand: remove #define EXIT_FAILURE, EXIT_SUCCESS
authorJeremiah Mahler <jmmahler@gmail.com>
Fri, 19 Dec 2014 15:22:17 +0000 (07:22 -0800)
committerOliver Hartkopp <socketcan@hartkopp.net>
Tue, 23 Dec 2014 17:02:18 +0000 (18:02 +0100)
slcand has #defines for EXIT_FAILURE and EXIT_SUCCESS but this is
unnecessary since they are already provided by stdlib.h.  Remove them.

Signed-off-by: Jeremiah Mahler <jmmahler@gmail.com>
Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net>
slcand.c

index 55775daab9d27bfe8331c56c7cd7eb2adb3f690f..c4c81c54bbcf2d1b7bfffd51fb6f987764404797 100644 (file)
--- a/slcand.c
+++ b/slcand.c
@@ -50,9 +50,6 @@
 /* The length of ttypath buffer */
 #define TTYPATH_LENGTH 64
 
-#define EXIT_SUCCESS 0
-#define EXIT_FAILURE 1
-
 /* UART flow control types */
 #define FLOW_NONE 0
 #define FLOW_HW 1