- Fix incomplete prototypes reported by Dag-Erling Smørgrav.

git-svn-id: file:///svn/unbound/trunk@3848 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
Wouter Wijngaards
2016-09-05 07:23:23 +00:00
parent f4bf45d809
commit 1508a5bb2c
18 changed files with 22 additions and 21 deletions
+1 -1
View File
@@ -105,7 +105,7 @@ static int verb = 0;
/** print program usage help */
static void
usage()
usage(void)
{
printf("lock_verify <trace files>\n");
}
+1 -1
View File
@@ -66,7 +66,7 @@ struct codeline {
/** print usage and exit */
static void
usage()
usage(void)
{
printf("usage: memstats <logfile>\n");
printf("statistics are printed on stdout.\n");
+1 -1
View File
@@ -70,7 +70,7 @@ static int verb = 0;
/** Give petal usage, and exit (1). */
static void
usage()
usage(void)
{
printf("Usage: petal [opts]\n");
printf(" https daemon serves files from ./'host'/filename\n");
+1 -1
View File
@@ -63,7 +63,7 @@ struct keysets {
/** print usage and exit */
static void
usage()
usage(void)
{
printf("usage: signit expi ince keytag owner keyfile\n");
printf("present rrset data on stdin.\n");
+1 -1
View File
@@ -67,7 +67,7 @@ static struct config_strlist* cfgfiles = NULL;
/** give commandline usage for testbound. */
static void
testbound_usage()
testbound_usage(void)
{
printf("usage: testbound [options]\n");
printf("\ttest the unbound daemon.\n");
+1 -1
View File
@@ -239,7 +239,7 @@ static void adjustline(char* line, struct entry* e,
}
/** create new entry */
static struct entry* new_entry()
static struct entry* new_entry(void)
{
struct entry* e = (struct entry*)malloc(sizeof(struct entry));
if(!e) error("out of memory");