From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: tuhs-bounces@minnie.tuhs.org X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.1 Received: from minnie.tuhs.org (minnie.tuhs.org [45.79.103.53]) by inbox.vuxu.org (OpenSMTPD) with ESMTP id 2ecbd7a9 for ; Wed, 22 Aug 2018 13:45:14 +0000 (UTC) Received: by minnie.tuhs.org (Postfix, from userid 112) id E2B23A1A97; Wed, 22 Aug 2018 23:45:12 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id 94A88A1A85; Wed, 22 Aug 2018 23:44:57 +1000 (AEST) Received: by minnie.tuhs.org (Postfix, from userid 112) id 35D4DA1A85; Wed, 22 Aug 2018 23:44:55 +1000 (AEST) Received: from hacklheber.piermont.com (hacklheber.piermont.com [166.84.7.14]) by minnie.tuhs.org (Postfix) with ESMTPS id 81068A1A30 for ; Wed, 22 Aug 2018 23:44:54 +1000 (AEST) Received: from snark.cb.piermont.com (localhost [127.0.0.1]) by hacklheber.piermont.com (Postfix) with ESMTP id 397D023D; Wed, 22 Aug 2018 09:44:53 -0400 (EDT) Received: from jabberwock.cb.piermont.com (jabberwock.cb.piermont.com [10.160.2.107]) by snark.cb.piermont.com (Postfix) with ESMTP id 16F082DF616; Wed, 22 Aug 2018 09:44:53 -0400 (EDT) Date: Wed, 22 Aug 2018 09:44:52 -0400 From: "Perry E. Metzger" To: Cornelius Keck Message-ID: <20180822094452.73ca043f@jabberwock.cb.piermont.com> In-Reply-To: <20180821213743.4931661.91186.9539@texoma.net> References: <88DDC574-96EA-4B3D-97A2-28157BF3B9D7@163.com> <20180821213743.4931661.91186.9539@texoma.net> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [TUHS] About Unix header files X-BeenThere: tuhs@minnie.tuhs.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: The Unix Heritage Society mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: tuhs@minnie.tuhs.org Errors-To: tuhs-bounces@minnie.tuhs.org Sender: "TUHS" On Tue, 21 Aug 2018 16:37:43 -0500 Cornelius Keck wrote: > Early C-compilers didn't care much about prototypes. The default > return type of a function would be an int. It was up to the code's > author to pass the right (amount, order, type). The linker didn't > care about signatures as long as the symbol resolved. To my knowledge, object file formats still don't have information about type signatures, and linkers still don't care about types. This is actually a problem. It would probably prevent a lot of errors if those things changed. Perry -- Perry E. Metzger perry@piermont.com