Version: 0.3.18
* Simplified arch-dependent stuff
* Updated list of syscalls and signals to Linux 2.4.18
* Unified coding-style of all function declarations
* Do not indent lines indicating signals, exit codes, etc
* Updated description
* fix off-by-one problem in checking syscall number (Tim Waugh
<twaugh@redhat.com> fixed this problem in RedHat two years ago;
thank you for NOT noticing me...)
diff --git a/options.c b/options.c
index 20ffeec..d3e53fd 100644
--- a/options.c
+++ b/options.c
@@ -48,8 +48,8 @@
struct opt_e_t * opt_e = NULL;
int opt_e_enable=1;
-static void usage(void)
-{
+static void
+usage(void) {
#if !(HAVE_GETOPT || HAVE_GETOPT_LONG)
fprintf(stdout, "Usage: %s [command [arg ...]]\n"
"Trace library calls of a given program.\n\n", progname);
@@ -114,8 +114,8 @@
#endif
}
-static char * search_for_command(char * filename)
-{
+static char *
+search_for_command(char * filename) {
static char pathname[1024];
char *path;
int m, n;
@@ -142,8 +142,8 @@
return filename;
}
-char ** process_options(int argc, char **argv)
-{
+char **
+process_options(int argc, char **argv) {
progname = argv[0];
output = stderr;