From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Nikolai Weibull Newsgroups: gmane.emacs.help Subject: Functionality to maintain function prototypes in C Date: Fri, 28 Oct 2016 20:55:15 +0200 Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1477683890 13573 195.159.176.226 (28 Oct 2016 19:44:50 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 28 Oct 2016 19:44:50 +0000 (UTC) To: Emacs Users Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Oct 28 21:44:47 2016 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c0D4v-00024U-QM for geh-help-gnu-emacs@m.gmane.org; Fri, 28 Oct 2016 21:44:37 +0200 Original-Received: from localhost ([::1]:51531 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c0D4y-0001tu-F6 for geh-help-gnu-emacs@m.gmane.org; Fri, 28 Oct 2016 15:44:40 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59804) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c0CJH-00019O-83 for help-gnu-emacs@gnu.org; Fri, 28 Oct 2016 14:55:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c0CJE-0006J4-7E for help-gnu-emacs@gnu.org; Fri, 28 Oct 2016 14:55:23 -0400 Original-Received: from disu.se ([71.19.156.204]:54534) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1c0CJD-0006Ik-V8 for help-gnu-emacs@gnu.org; Fri, 28 Oct 2016 14:55:20 -0400 Original-Received: from mail-wm0-f51.google.com (mail-wm0-f51.google.com [74.125.82.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by disu.se (Postfix) with ESMTPSA id B2201C02F for ; Fri, 28 Oct 2016 20:55:17 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=disu.se; s=mail; t=1477680918; bh=Rv8CAHvHtS+17Ev4g6P9zodg9hnst7wSJrXeYYQp+Vk=; l=635; h=From:Date:Subject:To:From; b=iYCG1hEO8DmCVhjx4zRbP7IpR8g5ErqsslBuPUkasr8ZR4VgFMM90sPqgtx02A4oV 8aF+fEcEPBiF999ouFa80DSt9BVhfVDu8KBm+tiautnduxmhgSwmTkzrlHeUj8Fq04 QeSXd+ff2Ex4UM0ZDEqJmGIrBqtdbXAB1d2zhNsc= Original-Received: by mail-wm0-f51.google.com with SMTP id p190so30342355wmp.1 for ; Fri, 28 Oct 2016 11:55:17 -0700 (PDT) X-Gm-Message-State: ABUngvcP7fAG/Pz/tsRpZ435Vb9a9VGa6olQsIvT14LKTfdXibbBtogt3PrBhB8NpOo9qpnWTozMMQj35kd9FQ== X-Received: by 10.28.74.193 with SMTP id n62mr122207wmi.67.1477680915716; Fri, 28 Oct 2016 11:55:15 -0700 (PDT) Original-Received: by 10.80.184.42 with HTTP; Fri, 28 Oct 2016 11:55:15 -0700 (PDT) X-Gmail-Original-Message-ID: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 71.19.156.204 X-Mailman-Approved-At: Fri, 28 Oct 2016 15:44:12 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:111623 Archived-At: Hi! C has the issue of being compiled in a single pass. After many years of working around this issue by defining my static functions in reverse order, which is good for the compiler, but bad for the user, I=E2=80=99m now looking to try writing them in a more natural order. The m= ain issue with this is maintaining the static-function prototypes. I=E2=80=99v= e looked around, but I can=E2=80=99t find a minor mode that=E2=80=99ll add, u= pdate, and remove static-function prototypes automatically, either by command or at file save, so I was hoping that someone here could point me in the right direction. Thanks!