summaryrefslogtreecommitdiffstats
path: root/avahi-daemon
diff options
context:
space:
mode:
Diffstat (limited to 'avahi-daemon')
-rw-r--r--avahi-daemon/ini-file-parser-test.c1
-rw-r--r--avahi-daemon/main.c4
2 files changed, 3 insertions, 2 deletions
diff --git a/avahi-daemon/ini-file-parser-test.c b/avahi-daemon/ini-file-parser-test.c
index 0dff13f..5ef1ce6 100644
--- a/avahi-daemon/ini-file-parser-test.c
+++ b/avahi-daemon/ini-file-parser-test.c
@@ -56,4 +56,5 @@ int main(int argc, char *argv[]) {
}
avahi_ini_file_free(f);
+ return 0;
}
diff --git a/avahi-daemon/main.c b/avahi-daemon/main.c
index d0db0dd..e249304 100644
--- a/avahi-daemon/main.c
+++ b/avahi-daemon/main.c
@@ -269,7 +269,7 @@ static int parse_command_line(DaemonConfig *c, int argc, char *argv[]) {
OPTION_DEBUG
};
- static const struct option const long_options[] = {
+ static const struct option long_options[] = {
{ "help", no_argument, NULL, 'h' },
{ "daemonize", no_argument, NULL, 'D' },
{ "kill", no_argument, NULL, 'k' },
@@ -477,7 +477,7 @@ finish:
static void log_function(AvahiLogLevel level, const char *txt) {
- static const int const log_level_map[] = {
+ static const int log_level_map[] = {
LOG_ERR,
LOG_WARNING,
LOG_NOTICE,