X-Git-Url: http://git.refcnt.org/?a=blobdiff_plain;f=colorize.c;h=157c4f0cc80d763249e8ac6a5a7ab79d3aad7023;hb=743e75340d0882c7338eee51e03148984774a532;hp=456611223623f182106f63278ffc914778701d0c;hpb=66783f3f7b3eb4d0c3bfaf4d069e62bf1e4f5174;p=colorize.git diff --git a/colorize.c b/colorize.c index 4566112..157c4f0 100644 --- a/colorize.c +++ b/colorize.c @@ -2,7 +2,7 @@ * colorize - Read text from standard input stream or file and print * it colorized through use of ANSI escape sequences * - * Copyright (c) 2011-2019 Steven Schubiger + * Copyright (c) 2011-2022 Steven Schubiger * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -132,7 +132,7 @@ #define PROGRAM_NAME "colorize" -#define VERSION "0.65" +#define VERSION "0.66" typedef enum { false, true } bool; @@ -359,8 +359,6 @@ static void vfprintf_fail (const char *, ...); static void stack (struct var_list **, unsigned int *, unsigned int, void *, enum var_type); static void release (struct var_list *, unsigned int, void **); -extern int optind; - int main (int argc, char **argv) { @@ -513,8 +511,6 @@ print_tstamp (FILE *log) print_version (); \ exit (EXIT_SUCCESS); -extern char *optarg; - static void process_opts (int argc, char **argv, char **conf_file) {