Hi, nm --undefined-only *.o | cut -c12- | sort | uniq would give you a list of all external symbols
nm --defined-only *.o | cut -c12- | sort | uniq would give you a list of all defined symbols now all enties in 2nd list, which are not in first list should be what you are looking for ('comm' should be able to do that). Stefan Dr. Michael J. Chudobiak schrieb: > Is there any easy way to identify unused functions in source code, for > cruft reduction? > > Using the -Wall flag identifies unused static functions, which is great, > but it misses the non-static ones. > > - Mike > > _______________________________________________ > gtk-app-devel-list mailing list > gtk-app-devel-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list