From patchwork Fri Nov 27 16:27:02 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Etienne Champetier X-Patchwork-Id: 549525 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from arrakis.dune.hu (arrakis.dune.hu [78.24.191.176]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id B3AC6140306 for ; Sat, 28 Nov 2015 03:34:37 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=La4CcXxH; dkim-atps=neutral Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id 66BCE28BF7B; Fri, 27 Nov 2015 17:31:27 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on arrakis.dune.hu X-Spam-Level: X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_DKIM_INVALID autolearn=unavailable version=3.3.2 Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id 0D60D28BDD5 for ; Fri, 27 Nov 2015 17:27:29 +0100 (CET) X-policyd-weight: using cached result; rate: -8.5 Received: from mail-wm0-f45.google.com (mail-wm0-f45.google.com [74.125.82.45]) by arrakis.dune.hu (Postfix) with ESMTPS for ; Fri, 27 Nov 2015 17:27:21 +0100 (CET) Received: by wmvv187 with SMTP id v187so77343459wmv.1 for ; Fri, 27 Nov 2015 08:27:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=MEHgN0JQlk9C4swyVrTJdcHbQ4XJLJALZCotFHWyjJA=; b=La4CcXxHSxQE6uxQFPaUZIzqoe9hFN68Yf9Sv/Fbqh7/f7fzXst5UjjX6EMphGGS0l 4xIz9R7ukKudFv1zxJhA+MdToVREy5RkcTov8nEhHRZRGKn2pK1TfR1GC8wgrVBziBUH 6b4GnqTTPQrJjkpf3q65nvW//jQbGj62mrdvjHgEGasG0AayU7tncbTEsc3J1CAW/EEG GGSD1TOEFasI0+txLGgrpuZ+vurIkw8nHRoCwzAm5fq5/+/HNn3fL0NhEwaQqzOPuJHA dBegu6QCGJ4XcTAQ/mHpRdayB7q1z+Roc7YGCJQE0/Cc9pZT5ns4Lx+V+jzuVZ3KGx7l XlMg== X-Received: by 10.28.7.8 with SMTP id 8mr11084954wmh.45.1448641642736; Fri, 27 Nov 2015 08:27:22 -0800 (PST) Received: from ubuntu1404.lxcnattst (ns623510.ovh.net. [5.135.134.9]) by smtp.gmail.com with ESMTPSA id w67sm8170842wmw.17.2015.11.27.08.27.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 27 Nov 2015 08:27:21 -0800 (PST) From: Etienne CHAMPETIER To: OpenWrt Development List Date: Fri, 27 Nov 2015 16:27:02 +0000 Message-Id: <1448641636-42493-4-git-send-email-champetier.etienne@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1448641636-42493-1-git-send-email-champetier.etienne@gmail.com> References: <1448641636-42493-1-git-send-email-champetier.etienne@gmail.com> Subject: [OpenWrt-Devel] [PATCH procd v3 03/17] ujail: stop using extern in elf.h X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: OpenWrt Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: openwrt-devel-bounces@lists.openwrt.org Sender: "openwrt-devel" extern qualifiers for function definitions doesn't really make sense Signed-off-by: Etienne CHAMPETIER --- jail/elf.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/jail/elf.h b/jail/elf.h index 3ae311e..19ceb3e 100644 --- a/jail/elf.h +++ b/jail/elf.h @@ -30,9 +30,9 @@ struct library_path { extern struct avl_tree libraries; -extern void alloc_library_path(const char *path); -extern char* find_lib(char *file); -extern int elf_load_deps(char *library); -extern void load_ldso_conf(const char *conf); +void alloc_library_path(const char *path); +char* find_lib(char *file); +int elf_load_deps(char *library); +void load_ldso_conf(const char *conf); #endif