aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Steven Schubiger <stsc@refcnt.org>2018-03-14 14:43:40 +0100
committerGravatar Steven Schubiger <stsc@refcnt.org>2018-03-14 14:43:40 +0100
commitfcf4408d02a843b008c262c808cabbc7bf36ed0a (patch)
tree0d21b9451cba3077f457a3c1119fd46a1783fe48
parent873cb28ff8c8e0a4b64cc872878a72b5fcd66a98 (diff)
downloadcolorize-fcf4408d02a843b008c262c808cabbc7bf36ed0a.tar.gz
colorize-fcf4408d02a843b008c262c808cabbc7bf36ed0a.tar.bz2
Omit superfluous backslash continuation character
-rw-r--r--colorize.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/colorize.c b/colorize.c
index ba5926a..2f164fa 100644
--- a/colorize.c
+++ b/colorize.c
@@ -99,12 +99,12 @@
#define ABORT_TRACE() \
fprintf (stderr, "Aborting in source file %s, line %u\n", __FILE__, __LINE__); \
- abort (); \
+ abort ();
#define CHECK_COLORS_RANDOM(color1, color2) \
streq (color_names[color1]->name, "random") \
&& (streq (color_names[color2]->name, "none") \
- || streq (color_names[color2]->name, "default")) \
+ || streq (color_names[color2]->name, "default"))
#define ALLOC_COMPLETE_PART_LINE 8
@@ -370,11 +370,11 @@ main (int argc, char **argv)
#define PRINT_HELP_EXIT() \
print_help (); \
- exit (EXIT_SUCCESS); \
+ exit (EXIT_SUCCESS);
#define PRINT_VERSION_EXIT() \
print_version (); \
- exit (EXIT_SUCCESS); \
+ exit (EXIT_SUCCESS);
extern char *optarg;
@@ -1490,7 +1490,7 @@ open_file (const char *file, const char *mode)
va_start (ap, fmt); \
vfprintf (stderr, fmt, ap); \
va_end (ap); \
- fprintf (stderr, "\n"); \
+ fprintf (stderr, "\n");
static void
vfprintf_diag (const char *fmt, ...)