From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A05B1138334 for ; Fri, 7 Jun 2019 12:20:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C2882E086A; Fri, 7 Jun 2019 12:20:48 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A3F55E086A for ; Fri, 7 Jun 2019 12:20:48 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4CD103458F1 for ; Fri, 7 Jun 2019 12:20:47 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D628F449 for ; Fri, 7 Jun 2019 12:20:44 +0000 (UTC) From: "Fabian Groffen" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Fabian Groffen" Message-ID: <1559909972.3b00486fb75941e66bcc829d4e0481d6a349cc82.grobian@gentoo> Subject: [gentoo-commits] proj/portage-utils:master commit in: / X-VCS-Repository: proj/portage-utils X-VCS-Files: applets.h X-VCS-Directories: / X-VCS-Committer: grobian X-VCS-Committer-Name: Fabian Groffen X-VCS-Revision: 3b00486fb75941e66bcc829d4e0481d6a349cc82 X-VCS-Branch: master Date: Fri, 7 Jun 2019 12:20:44 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 431207bb-8f5c-4f47-9c10-c1da6e5e80cc X-Archives-Hash: 655290eaa44edf19c7ca707a12fc24d1 commit: 3b00486fb75941e66bcc829d4e0481d6a349cc82 Author: Fabian Groffen gentoo org> AuthorDate: Fri Jun 7 12:19:32 2019 +0000 Commit: Fabian Groffen gentoo org> CommitDate: Fri Jun 7 12:19:32 2019 +0000 URL: https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=3b00486f applets.h: loose __weak__ attribute stuff defining this attribute breaks Cygwin, but more importantly it is not necessary with the current (much more normal) way of building and linking q. Bug: https://bugs.gentoo.org/687560 Signed-off-by: Fabian Groffen gentoo.org> applets.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/applets.h b/applets.h index 902e664..d8383d4 100644 --- a/applets.h +++ b/applets.h @@ -35,8 +35,7 @@ extern int getopt_long(int, char * const *, const char *, /* applet prototypes */ typedef int (*APPLET)(int, char **); -#define DECLARE_APPLET(applet) \ - extern int applet##_main(int, char **) __attribute__((weak)); +#define DECLARE_APPLET(applet) extern int applet##_main(int, char **); DECLARE_APPLET(q) DECLARE_APPLET(qatom) DECLARE_APPLET(qcheck)