summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-11-28 15:45:03 +0000
committerRoy Marples <roy@marples.name>2007-11-28 15:45:03 +0000
commitac9279cc0d5a00bc17908b2914941186020cd3ce (patch)
tree850a4fe19917113e75bfd2e79d00b58208468503 /src
parent444f23e2d158389b22d40537fc9b027d9f575229 (diff)
downloadopenrc-ac9279cc0d5a00bc17908b2914941186020cd3ce.tar.gz
openrc-ac9279cc0d5a00bc17908b2914941186020cd3ce.tar.bz2
openrc-ac9279cc0d5a00bc17908b2914941186020cd3ce.tar.xz
Massive whitespace cleanup
Diffstat (limited to 'src')
-rw-r--r--src/Makefile6
-rw-r--r--src/start-stop-daemon.c2
-rwxr-xr-xsrc/test/symbols.sh2
3 files changed, 5 insertions, 5 deletions
diff --git a/src/Makefile b/src/Makefile
index 3f2b6ac..d36f514 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -150,9 +150,9 @@ install:: $(TARGET)
for x in $(SBINLINKS); do ln -sf rc $(DESTDIR)/sbin/$$x; done
for x in $(RC_BINLINKS); do ln -sf ../../../sbin/rc $(DESTDIR)/$(RC_LIB)/bin/$$x; done
for x in $(RC_SBINLINKS); do ln -sf ../../../sbin/rc $(DESTDIR)/$(RC_LIB)/sbin/$$x; done
- if test "$(PAM)" = "pam" ; then \
- install -d $(DESTDIR)/etc/pam.d ; \
- install -m 0644 start-stop-daemon.pam $(DESTDIR)/etc/pam.d/start-stop-daemon ; \
+ if test "$(PAM)" = "pam"; then \
+ install -d $(DESTDIR)/etc/pam.d; \
+ install -m 0644 start-stop-daemon.pam $(DESTDIR)/etc/pam.d/start-stop-daemon; \
fi
clean-links:
diff --git a/src/start-stop-daemon.c b/src/start-stop-daemon.c
index 31752fb..26ad8bd 100644
--- a/src/start-stop-daemon.c
+++ b/src/start-stop-daemon.c
@@ -67,7 +67,7 @@
#include <security/pam_appl.h>
/* We are not supporting authentication conversations */
-static struct pam_conv conv = { NULL, NULL} ;
+static struct pam_conv conv = { NULL, NULL};
#endif
#include "builtins.h"
diff --git a/src/test/symbols.sh b/src/test/symbols.sh
index 9d1138f..a6a66fc 100755
--- a/src/test/symbols.sh
+++ b/src/test/symbols.sh
@@ -10,7 +10,7 @@ export LD_LIBRARY_PATH=${builddir}:${LD_LIBRARY_PATH}
export PATH=${builddir}:${PATH}
checkit() {
- local base=$1 ; shift
+ local base=$1; shift
echo "$@" | tr ' ' '\n' > ${base}.out
diff -u ${base}.list ${base}.out
eend $?