Received: by mail.netbsd.org (Postfix, from userid 605) id 0A49C84D58; Fri, 5 Jan 2018 20:01:33 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 849D684D54 for ; Fri, 5 Jan 2018 20:01:32 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id Je-u7Wl9uxBr for ; Fri, 5 Jan 2018 20:01:32 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 29DD584CFB for ; Fri, 5 Jan 2018 20:01:32 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 23892FBDE; Fri, 5 Jan 2018 20:01:32 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Fri, 5 Jan 2018 20:01:32 +0000 From: "Kamil Rytarowski" Subject: CVS commit: src/lib/libc To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20180105200132.23892FBDE@cvs.NetBSD.org> Sender: source-changes-owner@NetBSD.org List-Id: source-changes.NetBSD.org Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "Kamil Rytarowski" Mail-Followup-To: source-changes-d@NetBSD.org List-Unsubscribe: Module Name: src Committed By: kamil Date: Fri Jan 5 20:01:32 UTC 2018 Modified Files: src/lib/libc/include: namespace.h src/lib/libc/time: asctime.c Log Message: Register new weak symbol in libc for internal usage: asctime The NetBSD Standard C Library uses internally some of its functions with a mangled symbol name, usually "_symbol". The internal functions shall not use the global (public) symbols. Add asctime to namespace.h. Register a new __weak_alias() entry for asctime() in asctime.c. acstime() is used internally in ctime and __ctime50. This revision switches the internal usage to the internal symbol. Sponsored by To generate a diff of this commit: cvs rdiff -u -r1.191 -r1.192 src/lib/libc/include/namespace.h cvs rdiff -u -r1.22 -r1.23 src/lib/libc/time/asctime.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.