From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on atuin.qyliss.net X-Spam-Level: X-Spam-Status: No, score=-4.5 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,SPF_HELO_PASS autolearn=unavailable autolearn_force=no version=3.4.4 Received: by atuin.qyliss.net (Postfix, from userid 496) id 10FF36776; Thu, 18 Mar 2021 00:36:10 +0000 (UTC) Received: from [127.0.0.1] (localhost [IPv6:::1]) by atuin.qyliss.net (Postfix) with ESMTP id 6C0CB67FB; Thu, 18 Mar 2021 00:36:02 +0000 (UTC) Received: by atuin.qyliss.net (Postfix, from userid 496) id 51AF167DB; Thu, 18 Mar 2021 00:36:00 +0000 (UTC) Received: from wout3-smtp.messagingengine.com (wout3-smtp.messagingengine.com [64.147.123.19]) by atuin.qyliss.net (Postfix) with ESMTPS id 421766758 for ; Thu, 18 Mar 2021 00:35:58 +0000 (UTC) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 08EE41F9F for ; Wed, 17 Mar 2021 20:35:56 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Wed, 17 Mar 2021 20:35:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alyssa.is; h= from:to:subject:date:message-id:mime-version :content-transfer-encoding; s=fm2; bh=sShFXCiRCFH3pVcaMu/XY0HZKe J9cUzINLJLSq7kkLo=; b=id0Ftu50aRDEb0nnUrDcj78hTVrNWd45Aa2V74Ewg6 7iHkcc3ssp4fjkBfy7c7mxl/Uo+bJxWibNDz9gIqFMrlK35wRSLDMtskUuIKCZ6e cDdY0NwIwVaNnXep/SMwADbLISwus2o1/z+85Qpr2O1ypaRay100apqhoYUPByIg H7chwbI0stO53UXjt4S9/PUQwQ7zXzQXsRo9ZYwIMO/N/81ZgIrxIor/3JtCvAgs lyCIwF5kWc4Hbt+ll8cx4VLojmwhLwM2ockFlDBF10oMMbS+raXiv+N2jDltR0WI M6cPvp1scpqV5HqTw5oC75AiqR6qXD6lhxdAVK7NZZHg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:date:from :message-id:mime-version:subject:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=sShFXCiRCFH3pVcaM u/XY0HZKeJ9cUzINLJLSq7kkLo=; b=Ce8Ar/5VVTQrInpM3IKDXWJ4JH38CWv0Y 4r6AxIzOXMvl2Zr9QRiV3dXIuMqPcililU4hNPUfSLpWRWao9ISdrszfXz1i9V+C HZj1oIuOpndxx+4V8AtPcs9UkDDOOLsahjP96uSBlmeQXKvMd8y8gM6dgv6TGtu1 W82nmNh3YdD8BJZXrfUb0NVp6vyAH9TE7hx0B946UpB3DLayQuFZv2doUugxFxVL SWfMUje5TK6cHXN+PX6NQarKiklilgc+y1DP7Vmy/qUbjWkzHoaGHJV9pXlQC9Xw 9yWf7eBlKScktmq1+wezjfQ3/crwYIesLhSgTmqFQW0iModX0Pciw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrudefhedgvddvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufffkofgggfestdekredtre dttdenucfhrhhomheptehlhihsshgrucftohhsshcuoehhihesrghlhihsshgrrdhisheq necuggftrfgrthhtvghrnhephedvfffghfetieejgfetfedtgffhvdehueehvdejudfgge fgleejgfelfeevgfefnecukfhppeekgedrudekgedrvdefvddrudektdenucevlhhushht vghrufhiiigvpedvnecurfgrrhgrmhepmhgrihhlfhhrohhmpehqhihlihhsshesgidvvd dtrdhqhihlihhsshdrnhgvth X-ME-Proxy: Received: from x220.qyliss.net (p54b8e8b4.dip0.t-ipconnect.de [84.184.232.180]) by mail.messagingengine.com (Postfix) with ESMTPA id 6B50B1080054 for ; Wed, 17 Mar 2021 20:35:56 -0400 (EDT) Received: by x220.qyliss.net (Postfix, from userid 1000) id 6BD8C1D95; Thu, 18 Mar 2021 00:35:55 +0000 (UTC) From: Alyssa Ross To: devel@spectrum-os.org Subject: [PATCH ucspi-vsock] num: rename from util Date: Thu, 18 Mar 2021 00:35:45 +0000 Message-Id: <20210318003545.13414-1-hi@alyssa.is> X-Mailer: git-send-email 2.30.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID-Hash: YRIPNBEEWVNIARMRID2AZI3RIFDYP5VL X-Message-ID-Hash: YRIPNBEEWVNIARMRID2AZI3RIFDYP5VL X-MailFrom: qyliss@x220.qyliss.net X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-config-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; suspicious-header X-Mailman-Version: 3.3.1 Precedence: list List-Id: Patches and low-level development discussion Archived-At: List-Archive: List-Help: List-Post: List-Subscribe: List-Unsubscribe: I don't want to have anything called "util", because that will inevitably become a dumping ground for all sorts of unrelated stuff. --- Makefile | 14 +++++++------- util.c => num.c | 2 +- util.h => num.h | 0 vsockclient.c | 2 +- vsockserver.c | 2 +- 5 files changed, 10 insertions(+), 10 deletions(-) rename util.c => num.c (97%) rename util.h => num.h (100%) diff --git a/Makefile b/Makefile index 07ff09b..1a4bb10 100644 --- a/Makefile +++ b/Makefile @@ -18,15 +18,15 @@ install: vsockclient vsockserver $(INSTALL_PROGRAM) vsockclient vsockserver $(DESTDIR)$(bindir) .PHONY: install -vsockclient: vsockclient.o env.o log.o util.o vsock.o - $(CC) $(LDFLAGS) -o vsockclient vsockclient.o env.o log.o util.o vsock.o $(LDLIBS) -vsockserver: vsockserver.o env.o log.o util.o vsock.o - $(CC) $(LDFLAGS) -o vsockserver vsockserver.o env.o log.o util.o vsock.o $(LDLIBS) +vsockclient: vsockclient.o env.o log.o num.o vsock.o + $(CC) $(LDFLAGS) -o vsockclient vsockclient.o env.o log.o num.o vsock.o $(LDLIBS) +vsockserver: vsockserver.o env.o log.o num.o vsock.o + $(CC) $(LDFLAGS) -o vsockserver vsockserver.o env.o log.o num.o vsock.o $(LDLIBS) -vsockclient.o: env.h log.h util.h vsock.h -vsockserver.o: env.h log.h util.h vsock.h +vsockclient.o: env.h log.h num.h vsock.h +vsockserver.o: env.h log.h num.h vsock.h clean: - rm -f env.o log.o util.o vsock.o \ + rm -f env.o log.o num.o vsock.o \ vsockclient.o vsockclient vsockserver.o vsockserver .PHONY: clean diff --git a/util.c b/num.c similarity index 97% rename from util.c rename to num.c index 2b39df1..ac7f0a4 100644 --- a/util.c +++ b/num.c @@ -3,7 +3,7 @@ #define _GNU_SOURCE -#include "util.h" +#include "num.h" #include #include diff --git a/util.h b/num.h similarity index 100% rename from util.h rename to num.h diff --git a/vsockclient.c b/vsockclient.c index d25ab13..fbdd20e 100644 --- a/vsockclient.c +++ b/vsockclient.c @@ -16,7 +16,7 @@ #include "env.h" #include "log.h" -#include "util.h" +#include "num.h" #include "vsock.h" noreturn static void ex_usage(void) diff --git a/vsockserver.c b/vsockserver.c index 4c251b0..df9d334 100644 --- a/vsockserver.c +++ b/vsockserver.c @@ -19,7 +19,7 @@ #include "env.h" #include "log.h" -#include "util.h" +#include "num.h" #include "vsock.h" noreturn static void ex_usage(void) -- 2.30.0