From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,HTML_MESSAGE,MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: (qmail 30781 invoked from network); 25 Apr 2020 02:48:19 -0000 Received: from minnie.tuhs.org (45.79.103.53) by inbox.vuxu.org with UTF8ESMTPZ; 25 Apr 2020 02:48:19 -0000 Received: by minnie.tuhs.org (Postfix, from userid 112) id 7CE6B9C749; Sat, 25 Apr 2020 12:48:18 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id 7C9C09C733; Sat, 25 Apr 2020 12:47:56 +1000 (AEST) Authentication-Results: minnie.tuhs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="W4m/n8ez"; dkim-atps=neutral Received: by minnie.tuhs.org (Postfix, from userid 112) id B958D9C733; Sat, 25 Apr 2020 12:47:54 +1000 (AEST) Received: from mail-qk1-f175.google.com (mail-qk1-f175.google.com [209.85.222.175]) by minnie.tuhs.org (Postfix) with ESMTPS id 4E76F9C171 for ; Sat, 25 Apr 2020 12:47:54 +1000 (AEST) Received: by mail-qk1-f175.google.com with SMTP id 20so12355646qkl.10 for ; Fri, 24 Apr 2020 19:47:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:message-id:mime-version:subject:date:in-reply-to:cc:to :references; bh=xfCvsEQX6oWVYfCtmtR6WSd05bO/RULWQ+C1uicmKW4=; b=W4m/n8ezG3yP0i//S6ZLvAIfrtlgQRtHhnElq+fnr7DAQ7fjDT3mYXtL2hPjWXhBtT HRwgBP2PcPOZ6oEXXB+CjNgecddm+AsSAxVQfvrpFO1BJFUqK8PU7V0mFcbKXVYl8do7 SHJBYSXSZgV8G9BPDuZbSWKdhaPgknuWXEfTzJlxIGv7aY45tzolTlI5zZXOjmcftu9K AwsKUiFTiir+hHwtLbTY9gV34nACNx6eGxmC3BLTggfC6pvAMDwUelwTqOYkpG4/k0UB qh/0yfjz0eMksqJHERzsHQH0IBwT8eFmhhDbBfzJLDMVEyY0GsLQw4WFqubMxA5lVJZn DkfQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:message-id:mime-version:subject:date :in-reply-to:cc:to:references; bh=xfCvsEQX6oWVYfCtmtR6WSd05bO/RULWQ+C1uicmKW4=; b=XxdFxF7BRYx93Q6wjEsCDh011LKdkdSfgt3m2OGsGRwfSAmVeQFM6H3g/cIOQk5QiF CVJvlxZWMWO1zSkpJ+WLfOPGojExDWQ012RN4xdBJ+jVifDF73CALbeJYsFg+Wx2yrNH YqRax+GaU2sUmaksmzs10ssn8YQBLRJSbLfyiaUYqFoPPpit/ZIzaiQeNGwCyK7wyCnO wo2FP6I+8R+RqgKNbwz5NtHt5p14hS88CfPJcozUtUOK+dygZEKAb67j2Gg4ZNcs1Jcb EOVmMV22mn1R2dyEI0/1FS552n4jvQAw5cckMcWTj/Sxcy1UK4jgc9aJ5OlTFMVBotal UdSA== X-Gm-Message-State: AGi0PuYuEsLV6X6h+o4znfIqAIFNd35iY9ARfqzgzDSFeOWkI7sHz58M 9EuWJGDt4ez6MMz3aP66GPr/VXMQ X-Google-Smtp-Source: APiQypLNsXfe60PoGvxsodsUqWoOFkkaNl7oaXS26BUBvcz7s4mKL65l7U6zAlVu+McLkrX5btIV4Q== X-Received: by 2002:a05:620a:15a4:: with SMTP id f4mr11326971qkk.221.1587782872767; Fri, 24 Apr 2020 19:47:52 -0700 (PDT) Received: from ?IPv6:2600:8800:7c80:1584:859:e83c:7f2c:4667? ([2600:8800:7c80:1584:859:e83c:7f2c:4667]) by smtp.gmail.com with ESMTPSA id u13sm5066356qkj.44.2020.04.24.19.47.51 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 24 Apr 2020 19:47:52 -0700 (PDT) From: Adam Thornton Message-Id: <6D6EFA0C-36C3-4225-A331-D1998A07C50A@gmail.com> Content-Type: multipart/alternative; boundary="Apple-Mail=_79810271-3D8B-4686-83AC-0E5357E94A82" Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\)) Date: Fri, 24 Apr 2020 19:47:50 -0700 In-Reply-To: To: The Eunuchs Hysterical Society References: X-Mailer: Apple Mail (2.3608.80.23.2.2) Subject: Re: [TUHS] v7 K&R C X-BeenThere: tuhs@minnie.tuhs.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: The Unix Heritage Society mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: ak@akkartik.com Errors-To: tuhs-bounces@minnie.tuhs.org Sender: "TUHS" --Apple-Mail=_79810271-3D8B-4686-83AC-0E5357E94A82 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On Apr 24, 2020, at 7:37 PM, Charles Anthony = wrote: >=20 >=20 >=20 > On Fri, Apr 24, 2020 at 7:00 PM Adam Thornton > wrote: > This doesn=E2=80=99t like the function pointer. >=20 > $ cc -c choparg.c > choparg.c:11: Call of non-function >=20 > Perhaps: >=20 > (*fcn)(arg); >=20 We have a winner! Also, Kartik, dunno where it is on the net, but if you install a v7 = system, /usr/src/cmd/c Adam --Apple-Mail=_79810271-3D8B-4686-83AC-0E5357E94A82 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8

On Apr 24, 2020, at 7:37 PM, Charles Anthony <charles.unix.pro@gmail.com> wrote:



On Fri, Apr 24, 2020 at 7:00 PM Adam Thornton = <athornton@gmail.com> wrote:
This doesn=E2=80=99t like the function = pointer.

$ cc = -c choparg.c
choparg.c:11: Call of non-function

Perhaps:

    (*fcn)(arg);


We have a = winner!

Also, Kartik, dunno where it = is on the net, but if you install a v7 system, = /usr/src/cmd/c

Adam

= --Apple-Mail=_79810271-3D8B-4686-83AC-0E5357E94A82--