From fb77cb0f007d25ab8a99b64eb77a2c87f0f2716b Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Sun, 6 Jul 2003 20:04:01 +0000 Subject: various proto, ansi, and knf repair. tested on all architectures that use it. (build may require make cleandir because of .depend balony) --- libexec/ld.so/sod.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'libexec/ld.so/sod.c') diff --git a/libexec/ld.so/sod.c b/libexec/ld.so/sod.c index eb42997162b..9e8e3db24f5 100644 --- a/libexec/ld.so/sod.c +++ b/libexec/ld.so/sod.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sod.c,v 1.17 2003/05/08 16:30:52 millert Exp $ */ +/* $OpenBSD: sod.c,v 1.18 2003/07/06 20:03:57 deraadt Exp $ */ /* * Copyright (c) 1993 Paul Kranenburg @@ -50,6 +50,7 @@ #include "sod.h" int _dl_hinthash(char *cp, int vmajor, int vminor); +void _dl_maphints(void); /* * Populate sod struct for dlopen's call to map_object @@ -99,13 +100,13 @@ _dl_build_sod(const char *name, struct sod *sodp) break; case 2: /* major version extension */ - major = strtol(tok, &etok, 10); + major = _dl_strtol(tok, &etok, 10); if (*tok == '\0' || *etok != '\0') goto backout; break; case 3: /* minor version extension */ - minor = strtol(tok, &etok, 10); + minor = _dl_strtol(tok, &etok, 10); if (*tok == '\0' || *etok != '\0') goto backout; break; -- cgit v1.2.3