Skip to content

Commit

Permalink
maint: clean up c++ style comments
Browse files Browse the repository at this point in the history
* src/expand-common.h: Remove commented variables.
* src/remove.h: Change to C style comment.
* src/tail.c: Likewise.
  • Loading branch information
pixelb committed Sep 21, 2021
1 parent 23953ce commit f8819b6
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 11 deletions.
9 changes: 0 additions & 9 deletions src/expand-common.h
Expand Up @@ -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;

Expand Down
2 changes: 1 addition & 1 deletion src/remove.h
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/tail.c
Expand Up @@ -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;
}
Expand Down

0 comments on commit f8819b6

Please sign in to comment.