summaryrefslogtreecommitdiff
path: root/coreutils
diff options
context:
space:
mode:
authorDenis Vlasenko2007-04-16 22:32:04 +0000
committerDenis Vlasenko2007-04-16 22:32:04 +0000
commitac678ec2f127fc02a93fff2c164e0b13a94a6abf (patch)
treef1354d1d4e3ca29b1fd77698d45791e61fd7a8b1 /coreutils
parent17e3c34aa7abe42aa604234235338e2b8087b8a0 (diff)
downloadbusybox-ac678ec2f127fc02a93fff2c164e0b13a94a6abf.zip
busybox-ac678ec2f127fc02a93fff2c164e0b13a94a6abf.tar.gz
style fixes, no code changes
Diffstat (limited to 'coreutils')
-rw-r--r--coreutils/install.c3
-rw-r--r--coreutils/tail.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/coreutils/install.c b/coreutils/install.c
index c80be01..ece5b95 100644
--- a/coreutils/install.c
+++ b/coreutils/install.c
@@ -35,7 +35,8 @@ static const struct option install_long_options[] = {
#if ENABLE_SELINUX
static bool use_default_selinux_context = 1;
-static void setdefaultfilecon(const char *path) {
+static void setdefaultfilecon(const char *path)
+{
struct stat s;
security_context_t scontext = NULL;
diff --git a/coreutils/tail.c b/coreutils/tail.c
index 67396ab..629ee21 100644
--- a/coreutils/tail.c
+++ b/coreutils/tail.c
@@ -65,7 +65,8 @@ static ssize_t tail_read(int fd, char *buf, size_t count)
static const char header_fmt[] = "\n==> %s <==\n";
-static unsigned eat_num(const char *p) {
+static unsigned eat_num(const char *p)
+{
if (*p == '-') p++;
else if (*p == '+') { p++; G.status = EXIT_FAILURE; }
return xatou_sfx(p, tail_suffixes);