mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-08-31 12:19:39 +02:00
- 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:
@@ -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
@@ -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
@@ -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
@@ -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");
|
||||
|
||||
@@ -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
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user