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=-1.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM,HTML_MESSAGE,MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: (qmail 29655 invoked from network); 25 Apr 2020 02:38:43 -0000 Received: from minnie.tuhs.org (45.79.103.53) by inbox.vuxu.org with UTF8ESMTPZ; 25 Apr 2020 02:38:43 -0000 Received: by minnie.tuhs.org (Postfix, from userid 112) id B6B239C171; Sat, 25 Apr 2020 12:38:41 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id F154E9C83A; Sat, 25 Apr 2020 12:38:15 +1000 (AEST) Authentication-Results: minnie.tuhs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="lOEm0s1Z"; dkim-atps=neutral Received: by minnie.tuhs.org (Postfix, from userid 112) id 4E5F59C733; Sat, 25 Apr 2020 12:38:12 +1000 (AEST) Received: from mail-vk1-f176.google.com (mail-vk1-f176.google.com [209.85.221.176]) by minnie.tuhs.org (Postfix) with ESMTPS id DD5ED9C171 for ; Sat, 25 Apr 2020 12:38:11 +1000 (AEST) Received: by mail-vk1-f176.google.com with SMTP id f7so3312136vkl.6 for ; Fri, 24 Apr 2020 19:38:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=1yv4ZfrH2QTPmO60n5uOR7rsYisL0Vs1TxGrxL4gBVY=; b=lOEm0s1ZulL2wDcMKf9HHsOnraD6metVfLUD8HPRwTSHt1uPn3VsS5asefLFYDVjX5 +ZyhKzbAcazIpuvkU3dvJhg2YoJOvITTZ0V+UBy3Wx7YQ8DjCV/OMaKalwIYU3mqtlVA Is2v75LdSyui5782X6qUpim7u2zm4NJ2Lw/46Um5dJ7UO/kW0WiPpW3fFZadlr9wQqeH 0p5TkxN7wSI27HatbvA+BBD3GVmYqDrgU9JCjKxrGOw06Gsd+JUCDNRCl8IzKbAbStVS bYvkXu6kFaIR1QW3YLKvHMoPwsCFn8zbiYEbc7D8V55mKCri5ybZ12LCl+sc89nsJ81F FkCg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=1yv4ZfrH2QTPmO60n5uOR7rsYisL0Vs1TxGrxL4gBVY=; b=CTwThjaU3ChELG9ZuBQO/sXUd9wlwgwQad+jztmO7Wly52h0rKP0foZHgANuMzKpu/ cr+fkx0c1fukkW2QKjxtFMA6Z9YTVqIJf8+oFlBTyI6cSSv0J3IB+LaKvmP/gwFQV8HR gMtXI/0Kcf0Rb0kkl5XWCJfLidlsVFcp8qTohQ23XhS/s7+HTNAt3ts3/mqFtqpJYAHB E1bh0RB64UO6Y0tKEsnOr/r5ohoJFAPUX9yOvWFb6lijb673ZSElxbfzMDKlWrIUHZ/T bKrWHFfVjen1Oyqq+9S0jTouxyla9TVYjKFZElbkUrU2caUTbqlPS35E2uvpHJ5Xi0Ns ct/g== X-Gm-Message-State: AGi0Pub8qjnDbKA5Upu356bSlOQ1DiSAL7fsttMTCVoMO/O9PbQSE3U0 S4nIFBnAxW7JPdsvAr8HhtNPCbGFWkWV5dbm8Tw= X-Google-Smtp-Source: APiQypIY7YTpzyfAQywnKBZMVPQr2gHpVTC4y8OdU7/nTAG0ZTojqfRHLgPMbp17CCIpsiIULpIhj7iG9CCdGl/FnR8= X-Received: by 2002:a05:6122:12a:: with SMTP id a10mr10110885vko.51.1587782291002; Fri, 24 Apr 2020 19:38:11 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Charles Anthony Date: Fri, 24 Apr 2020 19:37:57 -0700 Message-ID: To: Adam Thornton Content-Type: multipart/alternative; boundary="0000000000006f994005a4145ff4" 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: The Eunuchs Hysterical Society Errors-To: tuhs-bounces@minnie.tuhs.org Sender: "TUHS" --0000000000006f994005a4145ff4 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Fri, Apr 24, 2020 at 7:00 PM Adam Thornton wrote: > This doesn=E2=80=99t like the function pointer. > > $ cc -c choparg.c > choparg.c:11: Call of non-function > > Perhaps: (*fcn)(arg); -- Charles --0000000000006f994005a4145ff4 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


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

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

Perhaps:

=C2= =A0 =C2=A0 (*fcn)(arg);

-- Charles
= --0000000000006f994005a4145ff4--