From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mail-a.sr.ht; dkim=pass header.d=johnnyrichard.com header.i=@johnnyrichard.com Received: from out-184.mta1.migadu.com (out-184.mta1.migadu.com [IPv6:2001:41d0:203:375::b8]) by mail-a.sr.ht (Postfix) with ESMTPS id 4FE9820195 for <~johnnyrichard/olang-devel@lists.sr.ht>; Tue, 13 Feb 2024 19:50:34 +0000 (UTC) Date: Tue, 13 Feb 2024 21:52:30 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=johnnyrichard.com; s=key1; t=1707853833; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=4mApCyqt6CC3salujcWoD8nPiRPan08n0SJITbbFvXQ=; b=hRuIhRY7bZP0jfM6tj97tpUnLo+D3HPGmfiHWkXtqbZXRpJye0yL1Tp9Ntkv2jmdrAFcLC Ww7UIZO4GbLYxO38bcqZxpaa8eN6MmmMIVboSla+QGMMcNIbfKhSITyLGDvWe/o2HzFPuR mHx/fSgJ0IA9VREhItehVIvjUEqw5scjsJ7Re6Fw8CTWdJHbJSHdOXZNdSmbs8jJjqff0s 7a1bdHE2HQAvtByluSY/1UWi0yNNAcQZ1px1Q4M/3VROgp5GeXME6sOXO2LZtMJVSc02r2 1pURiqkipf0zNjuPsddwGHIRRthSd//hG0ZPKIkJXyefjIjpkUKwO2UpdMznSQ== X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Johnny Richard To: Carlos Maniero Cc: ~johnnyrichard/olang-devel@lists.sr.ht Subject: Re: [PATCH olang] olang project bootstrap Message-ID: References: <20240213192034.4712-1-carlos@maniero.me> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240213192034.4712-1-carlos@maniero.me> X-Migadu-Flow: FLOW_OUT X-TUID: XCaQJD8OJ6YE I have applied few minor fixes to the patch: 1) The Makefile was point to test folder which doesn't exists at this moment. 2) The clang-format is not happy with the src/0c.c file, I applied the linter-fix to adjust the style. The following fixup patch listed below: Johnny Richard ---->8---- Subject: Fixup diff --git a/Makefile b/Makefile index e93b2ce..2a23b59 100644 --- a/Makefile +++ b/Makefile @@ -19,12 +19,10 @@ $(BUILD_DIR): .PHONY: linter linter: $(SRCS) $(HEADERS) clang-format --dry-run --Werror $? - $(MAKE) -C test linter .PHONY: linter-fix linter-fix: $(SRCS) $(HEADERS) clang-format -i $? - $(MAKE) -C test linter-fix $(BUILD_DIR)/%.o: $(SRC_DIR)/%.c $(CC) $(CFLAGS) -c $< -o $@ diff --git a/src/0c.c b/src/0c.c index d66ef12..97a8f47 100644 --- a/src/0c.c +++ b/src/0c.c @@ -14,6 +14,8 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -int main() { - return 0; +int +main(void) +{ + return 0; }