summaryrefslogtreecommitdiff
path: root/loginutils
diff options
context:
space:
mode:
Diffstat (limited to 'loginutils')
-rw-r--r--loginutils/login.c2
-rw-r--r--loginutils/passwd.c1
-rw-r--r--loginutils/sulogin.c3
3 files changed, 2 insertions, 4 deletions
diff --git a/loginutils/login.c b/loginutils/login.c
index 7e90446..55cbfa7 100644
--- a/loginutils/login.c
+++ b/loginutils/login.c
@@ -4,9 +4,9 @@
*/
#include "libbb.h"
+#include <syslog.h>
#include <utmp.h>
#include <sys/resource.h>
-#include <syslog.h>
#if ENABLE_SELINUX
#include <selinux/selinux.h> /* for is_selinux_enabled() */
diff --git a/loginutils/passwd.c b/loginutils/passwd.c
index 0842b71..0df084e 100644
--- a/loginutils/passwd.c
+++ b/loginutils/passwd.c
@@ -6,7 +6,6 @@
#include "libbb.h"
#include <syslog.h>
-
static void nuke_str(char *str)
{
if (str) memset(str, 0, strlen(str));
diff --git a/loginutils/sulogin.c b/loginutils/sulogin.c
index af457ef..faa93ea 100644
--- a/loginutils/sulogin.c
+++ b/loginutils/sulogin.c
@@ -5,9 +5,8 @@
* Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
*/
-#include <syslog.h>
-
#include "libbb.h"
+#include <syslog.h>
//static void catchalarm(int ATTRIBUTE_UNUSED junk)
//{