From patchwork Wed Feb 6 11:02:45 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Danny Al-Gaaf X-Patchwork-Id: 2103381 Return-Path: X-Original-To: patchwork-ceph-devel@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id 394EFDFE82 for ; Wed, 6 Feb 2013 11:03:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757455Ab3BFLDF (ORCPT ); Wed, 6 Feb 2013 06:03:05 -0500 Received: from wp188.webpack.hosteurope.de ([80.237.132.195]:32976 "EHLO wp188.webpack.hosteurope.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757359Ab3BFLC4 (ORCPT ); Wed, 6 Feb 2013 06:02:56 -0500 Received: from charybdis-ext.suse.de ([195.135.221.2] helo=darkangel.suse.de); authenticated by wp188.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) id 1U32mD-00012A-K2; Wed, 06 Feb 2013 12:02:53 +0100 From: Danny Al-Gaaf To: ceph-devel@vger.kernel.org Cc: Danny Al-Gaaf , Sage Weil , Gary Lowell Subject: [PATCH 2/8] ceph_crypto.cc: remove unused shutdown() outside crypto ifdef's Date: Wed, 6 Feb 2013 12:02:45 +0100 Message-Id: <1360148571-6984-3-git-send-email-danny.al-gaaf@bisect.de> X-Mailer: git-send-email 1.8.1.2 In-Reply-To: <1360148571-6984-1-git-send-email-danny.al-gaaf@bisect.de> References: <1360148571-6984-1-git-send-email-danny.al-gaaf@bisect.de> X-bounce-key: webpack.hosteurope.de; danny.al-gaaf@bisect.de; 1360148576; 57b3e379; Sender: ceph-devel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: ceph-devel@vger.kernel.org Fix "out-of-line declaration of a member must be a definition [-Wout-of-line-declaration]". Remove ceph::crypto::shutdown() outside the crypto related ifdef's. Without nss or cryptopp configure will fail anyways. Signed-off-by: Danny Al-Gaaf --- src/common/ceph_crypto.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/src/common/ceph_crypto.cc b/src/common/ceph_crypto.cc index 3f04349..96fa157 100644 --- a/src/common/ceph_crypto.cc +++ b/src/common/ceph_crypto.cc @@ -20,7 +20,6 @@ #include #include -void ceph::crypto::shutdown(); #ifdef USE_CRYPTOPP void ceph::crypto::init(CephContext *cct)