Skip to content

Commit

Permalink
cp: remove unneeded semicolons following one-line function declarations
Browse files Browse the repository at this point in the history
  • Loading branch information
E5ten authored and landley committed Apr 1, 2023
1 parent 6ca844d commit f9acf3b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions toys/posix/cp.c
Original file line number Diff line number Diff line change
Expand Up @@ -468,9 +468,9 @@ void mv_main(void)

// Export cp flags into install's flag context.

static inline int cp_flag_F(void) { return FLAG_F; };
static inline int cp_flag_p(void) { return FLAG_p; };
static inline int cp_flag_v(void) { return FLAG_v; };
static inline int cp_flag_F(void) { return FLAG_F; }
static inline int cp_flag_p(void) { return FLAG_p; }
static inline int cp_flag_v(void) { return FLAG_v; }

// Switch to install's flag context
#define FOR_install
Expand Down

0 comments on commit f9acf3b

Please sign in to comment.