From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id D177845B94; Mon, 21 Oct 2024 18:05:21 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 47B3C402F1; Mon, 21 Oct 2024 18:05:18 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mails.dpdk.org (Postfix) with ESMTP id 095F040263 for ; Mon, 21 Oct 2024 18:05:15 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1729526715; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=h47M8gzDVqDi6ryyopY7f358SHqCZpk9yzKf7R6tVlI=; b=N5Ax5yQtFuPi43uy/156ANVpDatQcN1VuH8NpomF8oPDhP4aVPncBslymXW0bc3y7hVw6W PRippVCgTur+57zl4xSrjext6gPE5HGJ6sXjBAtimy4CVlHioiZFagPEcJtnawGJLlDBq6 DpZBdi0DKW8jrOvwXlEdI5idlQQ3Kk8= Received: from mx-prod-mc-05.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-633-mskaAImNM8ahGGvHhAF0Ug-1; Mon, 21 Oct 2024 12:05:14 -0400 X-MC-Unique: mskaAImNM8ahGGvHhAF0Ug-1 Received: from mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.12]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-05.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id DC11019560A2; Mon, 21 Oct 2024 16:05:12 +0000 (UTC) Received: from dmarchan.redhat.com (unknown [10.45.224.57]) by mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 0CDC319560A2; Mon, 21 Oct 2024 16:05:09 +0000 (UTC) From: David Marchand To: dev@dpdk.org Cc: thomas@monjalon.net, bruce.richardson@intel.com, ktraynor@redhat.com, Rosen Xu , =?UTF-8?q?Mattias=20R=C3=B6nnblom?= , =?UTF-8?q?Morten=20Br=C3=B8rup?= Subject: [PATCH v3 3/4] bus/ifpga: use C linkage where appropriate in driver header Date: Mon, 21 Oct 2024 18:04:46 +0200 Message-ID: <20241021160447.3538245-4-david.marchand@redhat.com> In-Reply-To: <20241021160447.3538245-1-david.marchand@redhat.com> References: <20241015121046.2556695-1-david.marchand@redhat.com> <20241021160447.3538245-1-david.marchand@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.0 on 10.30.177.12 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII"; x-default=true X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org This driver was missed when cleaning up most of the headers. Fixes: 719834a6849e ("use C linkage where appropriate in headers") Signed-off-by: David Marchand --- drivers/bus/ifpga/bus_ifpga_driver.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/bus/ifpga/bus_ifpga_driver.h b/drivers/bus/ifpga/bus_ifpga_driver.h index 5bbe36d6e0..a42afc7d75 100644 --- a/drivers/bus/ifpga/bus_ifpga_driver.h +++ b/drivers/bus/ifpga/bus_ifpga_driver.h @@ -11,16 +11,16 @@ * RTE Intel FPGA Bus Interface */ -#ifdef __cplusplus -extern "C" { -#endif /* __cplusplus */ - #include #include #include #include #include +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ + #define IFPGA_BUS_NAME ifpga /* Forward declarations */ -- 2.46.2