mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 14:35:26 +00:00
Megacommit of dozens of files.
Cleanup of redundant/useless header file inclusion. ISC style lint, primarily for function declarations and standalone comments -- ie, those that appear on a line without any code, which should be written as follows: /* * This is a comment. */
This commit is contained in:
@@ -15,8 +15,11 @@
|
||||
* SOFTWARE.
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include <isc/serial.h>
|
||||
|
||||
int
|
||||
@@ -25,7 +28,6 @@ main() {
|
||||
char buf[1024];
|
||||
char *s, *e;
|
||||
|
||||
|
||||
while (fgets(buf, sizeof buf, stdin) != NULL) {
|
||||
buf[sizeof buf - 1] = '\0';
|
||||
s = buf;
|
||||
|
Reference in New Issue
Block a user