From: Pádraig Brady
Date: Tue, 21 Sep 2021 15:18:05 +0000 (+0100) Subject: maint: clean up c++ style comments X-Git-Tag: v9.0~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f8819b657f6a15249b5758c7b1160be97f8805cd;p=thirdparty%2Fcoreutils.git maint: clean up c++ style comments * src/expand-common.h: Remove commented variables. * src/remove.h: Change to C style comment. * src/tail.c: Likewise. --- diff --git a/src/expand-common.h b/src/expand-common.h index a6b2272cce..ac812d0ed6 100644 --- a/src/expand-common.h +++ b/src/expand-common.h @@ -22,15 +22,6 @@ extern bool convert_entire_line; /* The maximum distance between tab stops. */ extern size_t max_column_width; -/* Null-terminated array of input filenames. */ -//extern char **file_list; - -/* Default for 'file_list' if no files are given on the command line. */ -//extern char *stdin_argv[]; - -/* True if we have ever read standard input. */ -//extern bool have_read_stdin; - /* The desired exit status. */ extern int exit_status; diff --git a/src/remove.h b/src/remove.h index 5a53e7144b..5b3178b46f 100644 --- a/src/remove.h +++ b/src/remove.h @@ -37,7 +37,7 @@ struct rm_options /* If true, query the user about whether to remove each file. */ enum rm_interactive interactive; - // FIXME: remove + /* FIXME: remove */ /* If true, do not traverse into (or remove) any directory that is on a file system (i.e., that has a different device number) other than that of the corresponding command line argument. Note that diff --git a/src/tail.c b/src/tail.c index eb15b933f3..d2c898adf7 100644 --- a/src/tail.c +++ b/src/tail.c @@ -861,7 +861,7 @@ start_bytes (char const *pretty_filename, int fd, uintmax_t n_bytes, else { size_t n_remaining = bytes_read - n_bytes; - // Print extra characters if there are any + /* Print extra characters if there are any. */ xwrite_stdout (&buffer[n_bytes], n_remaining); break; }