aboutsummaryrefslogtreecommitdiff
path: root/options.c
diff options
context:
space:
mode:
authorJuan Cespedes <cespedes@debian.org>2008-12-16 18:19:58 +0100
committerJuan Cespedes <cespedes@debian.org>2008-12-16 18:19:58 +0100
commitf13505251e6402460f6cc7ec84e0d8ca91607b4f (patch)
tree883ded52fe552220b5500f761f8e3031de22c043 /options.c
parent7dd291227d81d3bc32c67e90fb7f7c51c76f39dd (diff)
downloadltrace-f13505251e6402460f6cc7ec84e0d8ca91607b4f.tar.gz
Re-indent entry points to functions
Diffstat (limited to 'options.c')
-rw-r--r--options.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/options.c b/options.c
index 6c912c6..3d3b11c 100644
--- a/options.c
+++ b/options.c
@@ -67,8 +67,8 @@ struct opt_F_t *opt_F = NULL; /* alternate configuration file(s) */
char *PLTs_initialized_by_here = PLT_REINITALISATION_BP;
#endif
-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);
@@ -145,8 +145,8 @@ static void usage(void)
#endif
}
-static char *search_for_command(char *filename)
-{
+static char *
+search_for_command(char *filename) {
static char pathname[PATH_MAX];
char *path;
int m, n;
@@ -177,8 +177,8 @@ static char *search_for_command(char *filename)
return filename;
}
-char **process_options(int argc, char **argv)
-{
+char **
+process_options(int argc, char **argv) {
progname = argv[0];
output = stderr;