]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
maint: clean up c++ style comments
authorPádraig Brady <P@draigBrady.com>
Tue, 21 Sep 2021 15:18:05 +0000 (16:18 +0100)
committerPádraig Brady <P@draigBrady.com>
Tue, 21 Sep 2021 15:22:18 +0000 (16:22 +0100)
* src/expand-common.h: Remove commented variables.
* src/remove.h: Change to C style comment.
* src/tail.c: Likewise.

src/expand-common.h
src/remove.h
src/tail.c

index a6b2272cceef7c57a2f452d2468fdcb1bc417f10..ac812d0ed6f95ed862832b5410ed697af3d10c7f 100644 (file)
@@ -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;
 
index 5a53e7144b01bccf5b21b46b9be1f13e507261f1..5b3178b46fcf77892bb1820eef56c490f17e8938 100644 (file)
@@ -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
index eb15b933f331d74fbf67eaccaa2a26f2bda0f6e3..d2c898adf7ecba5b5e75574cd03da5aab6a0a5f9 100644 (file)
@@ -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;
         }