Some random fixes

* General: Small fixes (indentation, typos, clean-up of code)
* ltrace.c: Close output file on exit
* ltrace.c: use getenf("HOME") instead of getpwuid(geteuid())->pw_dir
* read_config_file.c, display_args.c: remove "ignore" argtype;
  that's what "void" is for
* packaging/debian/: misc fixes, sync with version 0.5-1
* etc/ltrace.conf: added more system calls
* testsuite/ltrace.minor/trace-clone.c: sleep(1) to avoid earlier
  termination of process
* sysdeps/linux-gnu/trace.c: trace_pid(): reverted Petr's patch
  to wait for child to stop, as it stopped following clone()
* process_event.c: Disable breakpoints before doing fork() (again!),
  to make children work as expected
diff --git a/debug.c b/debug.c
index bdff766..59827d0 100644
--- a/debug.c
+++ b/debug.c
@@ -31,52 +31,7 @@
 #include <stdlib.h>
 #include <sys/ptrace.h>
 
-int xwrite(const char *string, size_t len)
-{
-	int rc = 0;
-	rc = write(1, string, len);
-	return rc;
-}
-
-int xwrites(const char *string)
-{
-	size_t len = 0;
-	int rc = 0;
-	const char *tstring = string;
-
-	while (*tstring++ != '\0') {
-		len++;
-	}
-
-	if (len > 0) {
-		rc = xwrite(string, len);
-	}
-
-	return rc;
-}
-
-int xwritehexi(int i)
-{
-	int rc = 0;
-	char text[9];
-	int j;
-	unsigned int temp = (unsigned int)i;
-
-	for (j = 7; j >= 0; j--) {
-		char c;
-		c = (char)((temp & 0x0f) + '0');
-		if (c > '9') {
-			c = (char)(c + ('a' - '9' - 1));
-		}
-		text[j] = c;
-		temp = temp >> 4;
-	}
-
-	rc = write(1, text, 8);
-	return rc;
-}
-
-int xwritehexl(long i)
+static int xwritehexl(long i)
 {
 	int rc = 0;
 	char text[17];
@@ -97,7 +52,7 @@
 	return rc;
 }
 
-int xwritec(char c)
+static int xwritec(char c)
 {
 	char temp = c;
 	char *text = &temp;
@@ -106,12 +61,12 @@
 	return rc;
 }
 
-int xwritecr(void)
+static int xwritecr(void)
 {
 	return xwritec('\n');
 }
 
-int xwritedump(void *ptr, long addr, int len)
+static int xwritedump(void *ptr, long addr, int len)
 {
 	int rc = 0;
 	long *tprt = (long *)ptr;