Welcome to little lamb

Code » anopa » commit 5c55ace

service: Minor cleanup

author Olivier Brunel
2015-07-30 17:10:18 UTC
committer Olivier Brunel
2015-08-07 17:24:48 UTC
parent 3978c048c53b076eb76bd0efb0d5f8bab0287eb4

service: Minor cleanup

Remove useless args to aa_service()

src/utils/aa-service.c +2 -2

diff --git a/src/utils/aa-service.c b/src/utils/aa-service.c
index 577aa31..2e603b0 100644
--- a/src/utils/aa-service.c
+++ b/src/utils/aa-service.c
@@ -89,7 +89,7 @@ err:
 }
 
 static int
-aa_service (int argc, char const **argv, exlsn_t *info)
+aa_service (exlsn_t *info)
 {
     stralloc sa = STRALLOC_ZERO;
     char *s;
@@ -192,7 +192,7 @@ main (int argc, char const **argv, char const *const *envp)
     --argc;
     ++argv;
 
-    r = aa_service (argc, argv, &info);
+    r = aa_service (&info);
     if (r < 0)
         switch (-r)
         {