Skip to content

Commit 5d1b7f1

Browse files
committed
Enforce newline at the end of files
Ensure that all the files conform to the standard of having a newline character at the end. Link: https://medium.com/@alexey.inkin/how-to-force-newline-at-end-of-files-and-why-you-should-do-it-fdf76d1d090e
1 parent dd6a761 commit 5d1b7f1

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

console.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -674,4 +674,4 @@ bool run_console(char *infile_name)
674674
}
675675

676676
return err_cnt == 0;
677-
}
677+
}

linenoise.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1383,4 +1383,4 @@ int line_history_load(const char *filename)
13831383
}
13841384
fclose(fp);
13851385
return 0;
1386-
}
1386+
}

linenoise.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,4 +76,4 @@ void line_mask_mode_disable(void);
7676
}
7777
#endif
7878

79-
#endif /* __LINENOISE_H */
79+
#endif /* __LINENOISE_H */

web.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,4 +267,4 @@ int web_eventmux(char *buf)
267267

268268
FD_CLR(STDIN_FILENO, &listenset);
269269
return 0;
270-
}
270+
}

web.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ void web_send(int out_fd, char *buffer);
1111

1212
int web_eventmux(char *buf);
1313

14-
#endif
14+
#endif

0 commit comments

Comments
 (0)