summaryrefslogtreecommitdiffstats
path: root/usr.bin/ldd/ldd.c
diff options
context:
space:
mode:
authorjdp <jdp@FreeBSD.org>1997-09-02 21:54:39 +0000
committerjdp <jdp@FreeBSD.org>1997-09-02 21:54:39 +0000
commit24ac227fe1eed875b0afed20b605ebefdb25b533 (patch)
tree1fe179590c56ad751db81441aaeb889ceae2c869 /usr.bin/ldd/ldd.c
parent6ffb8bf9af1d6800f2c8b2595b03e7696ec1a850 (diff)
downloadFreeBSD-src-24ac227fe1eed875b0afed20b605ebefdb25b533.zip
FreeBSD-src-24ac227fe1eed875b0afed20b605ebefdb25b533.tar.gz
Touch up the code that implements "ldd -v".
Bring the style of sods.c into better conformance. Add code to print the contents of each datum being relocated. Correct the logic that distinguishes between programs, shared libraries, and object files. Make the entire program "-Wall" clean.
Diffstat (limited to 'usr.bin/ldd/ldd.c')
-rw-r--r--usr.bin/ldd/ldd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ldd/ldd.c b/usr.bin/ldd/ldd.c
index 331d3c7..d940261 100644
--- a/usr.bin/ldd/ldd.c
+++ b/usr.bin/ldd/ldd.c
@@ -27,7 +27,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id$
+ * $Id: ldd.c,v 1.13 1997/02/22 15:46:43 peter Exp $
*/
#include <sys/types.h>
@@ -44,7 +44,7 @@
#include <string.h>
#include <unistd.h>
-extern void dump_filename __P((const char *));
+extern void dump_file __P((const char *));
extern int error_count;
void
OpenPOWER on IntegriCloud