diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2013-04-03 12:39:51 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2013-04-03 12:39:51 +0300 |
commit | 551be3bc1f47b78129a2c0ffd4b125ef95f15552 (patch) | |
tree | f62f2e76fff51a19188f433b557db0846c301960 /plugins/syslog.c | |
parent | 40335819cfb2ef9d4380f05c93a12281e26d0b15 (diff) | |
download | rpm-551be3bc1f47b78129a2c0ffd4b125ef95f15552.tar.gz |
Drop now redundant name and opts arguments to plugin init hook
- Both name and opts can be grabbed from the plugin handle, no need
to pass separately
Diffstat (limited to 'plugins/syslog.c')
-rw-r--r-- | plugins/syslog.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/syslog.c b/plugins/syslog.c index 75fe46e5a..4116bba76 100644 --- a/plugins/syslog.c +++ b/plugins/syslog.c @@ -9,8 +9,7 @@ struct logstat { unsigned int pkgfail; }; -static rpmRC PLUGINHOOK_INIT_FUNC(rpmPlugin plugin, - rpmts ts, const char * name, const char * opts) +static rpmRC PLUGINHOOK_INIT_FUNC(rpmPlugin plugin, rpmts ts) { /* XXX make this configurable? */ const char * log_ident = "[RPM]"; |