From patchwork Thu Mar 7 08:00:46 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcus Haehnel X-Patchwork-Id: 1909125 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=kernkonzept.com header.i=@kernkonzept.com header.a=rsa-sha256 header.s=mx1 header.b=JPnogPND; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=uclibc-ng.org (client-ip=2a00:1828:2000:679::23; helo=helium.openadk.org; envelope-from=devel-bounces@uclibc-ng.org; receiver=patchwork.ozlabs.org) Received: from helium.openadk.org (helium.openadk.org [IPv6:2a00:1828:2000:679::23]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4Tr1vx3rx0z1yX3 for ; Thu, 7 Mar 2024 19:01:14 +1100 (AEDT) Received: from helium.openadk.org (localhost [IPv6:::1]) by helium.openadk.org (Postfix) with ESMTP id 74B573534A87; Thu, 7 Mar 2024 09:01:02 +0100 (CET) Authentication-Results: helium.openadk.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=kernkonzept.com header.i=@kernkonzept.com header.a=rsa-sha256 header.s=mx1 header.b=JPnogPND; dkim-atps=neutral Received: from mx.kernkonzept.com (serv1.kernkonzept.com [159.69.200.6]) by helium.openadk.org (Postfix) with ESMTPS id 070343521148 for ; Thu, 7 Mar 2024 09:00:45 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=kernkonzept.com; s=mx1; h=Content-Transfer-Encoding:MIME-Version:Message-ID :Date:Subject:Cc:To:From:References:In-Reply-To:Reply-To:Content-Type: Content-ID:Content-Description; bh=pfY/oOZyOnzLDQvVpSo29PZnTZJ4JV95HaesWZukFDE=; b=JPnogPNDN02izxnKxWdDEzoWXs +WciwUCiy5q9MbrV464ArT7VzbFgV4M4kGct24UsqtAi1fjLgX9WbbME9wsDIj/X4ze8zuryKfXc0 pEjhuJxz/JCGhw/mQQRkeleE2keQ5rj2OM1eSnnFahdVECfOhZrMlcbp42dVEWryE7241oki8Dual mGdQMUH7U7AjURzcpjHaLYieRID/DAB+ELrS8pDOij7X5CvQ5rV0Q/RJZygym+B+/p4r82mC1o+GA I4vmyr2qxSocNnaBmjzndWYbPVZhIe1jdWPjEdQZhRfuzm6jJhG9fioKmlV87KxDh0iZLu2fX9G1e qNuXNVfA==; Received: from [10.22.3.160] (helo=amethyst.dd1.int.kernkonzept.com) by mx.kernkonzept.com with esmtpsa (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.96) id 1ri8gG-003HeK-0i; Thu, 07 Mar 2024 09:00:44 +0100 From: Marcus Haehnel To: devel@uclibc-ng.org Date: Thu, 7 Mar 2024 09:00:46 +0100 Message-ID: <20240307080046.26521-1-marcus.haehnel@kernkonzept.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 Message-ID-Hash: H3FB3BNMH7KHLWYFCRIBLUXQFC2I3OKG X-Message-ID-Hash: H3FB3BNMH7KHLWYFCRIBLUXQFC2I3OKG X-MailFrom: marcus.haehnel@kernkonzept.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: Marcus Haehnel X-Mailman-Version: 3.3.3 Precedence: list Subject: [uclibc-ng-devel] [PATCH] libpthread: Remove no longer valid attribute_unused List-Id: uClibc-ng Development Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: The variable is used since 04a676f3c8d2443499f27612f69ee88e12089e61. --- libpthread/linuxthreads/condvar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libpthread/linuxthreads/condvar.c b/libpthread/linuxthreads/condvar.c index 949991ad7..027aa8fc3 100644 --- a/libpthread/linuxthreads/condvar.c +++ b/libpthread/linuxthreads/condvar.c @@ -273,7 +273,7 @@ int pthread_cond_broadcast(pthread_cond_t *cond) } libpthread_hidden_def(pthread_cond_broadcast) -int pthread_condattr_init(pthread_condattr_t *attr attribute_unused) +int pthread_condattr_init(pthread_condattr_t *attr) { memset (attr, '\0', sizeof (*attr)); return 0;