summaryrefslogtreecommitdiff
path: root/output.c
diff options
context:
space:
mode:
authorDima Kogan <dima@secretsauce.net>2014-05-03 01:08:40 -0700
committerChanho Park <chanho61.park@samsung.com>2014-08-22 20:38:26 +0900
commit3c2f28cc0082c3acc1524d0c76646ecd1da686e7 (patch)
tree433d4f6cdbe1d6b898300bf060f8b56206ffb7d0 /output.c
parentaa23d6cab4478e3ea1eb953648eeae5ff77dcb52 (diff)
downloadltrace-3c2f28cc0082c3acc1524d0c76646ecd1da686e7.tar.gz
ltrace-3c2f28cc0082c3acc1524d0c76646ecd1da686e7.tar.bz2
ltrace-3c2f28cc0082c3acc1524d0c76646ecd1da686e7.zip
whitespace style change
- Tabs should be 8 characters. - Lines should be no longer than 80 characters - Pointer star belongs to the variable, not the type - Lines shouldn't be formatted into tables arbitrarily - if and while should get a space before the paren
Diffstat (limited to 'output.c')
-rw-r--r--output.c16
1 files changed, 9 insertions, 7 deletions
diff --git a/output.c b/output.c
index cc45e52..8d378ea 100644
--- a/output.c
+++ b/output.c
@@ -214,16 +214,18 @@ library_get_prototype(struct library *lib, const char *name)
&& snip_period(buf));
#if defined(HAVE_LIBDW)
- // DWARF data fills in the gaps in the .conf files, so I don't check for
- // lib->protolib==NULL here
+ // DWARF data fills in the gaps in the .conf files, so I don't
+ // check for lib->protolib==NULL here
if (lib->dwfl != NULL &&
- (filter_matches_library(options.plt_filter, lib ) ||
- filter_matches_library(options.static_filter, lib ) ||
- filter_matches_library(options.export_filter, lib )))
+ (filter_matches_library(options.plt_filter, lib ) ||
+ filter_matches_library(options.static_filter, lib ) ||
+ filter_matches_library(options.export_filter, lib )))
import_DWARF_prototypes(lib);
else
- debug(DEBUG_FUNCTION, "Filter didn't match prototype '%s' in lib '%s'. Not importing",
- name, lib->soname);
+ debug(DEBUG_FUNCTION,
+ "Filter didn't match prototype '%s' in lib '%s'. "
+ "Not importing",
+ name, lib->soname);
#endif
if (lib->protolib == NULL)