From owner-svn-src-all@FreeBSD.ORG Wed Feb 3 23:58:00 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C43151065670; Wed, 3 Feb 2010 23:58:00 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id B2EF48FC12; Wed, 3 Feb 2010 23:58:00 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o13Nw0u3046577; Wed, 3 Feb 2010 23:58:00 GMT (envelope-from delphij@svn.freebsd.org) Received: (from delphij@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o13Nw0hk046574; Wed, 3 Feb 2010 23:58:00 GMT (envelope-from delphij@svn.freebsd.org) Message-Id: <201002032358.o13Nw0hk046574@svn.freebsd.org> From: Xin LI Date: Wed, 3 Feb 2010 23:58:00 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r203460 - head/sbin/iscontrol X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Feb 2010 23:58:00 -0000 Author: delphij Date: Wed Feb 3 23:58:00 2010 New Revision: 203460 URL: http://svn.freebsd.org/changeset/base/203460 Log: pukeText is an internal function so define it as static rather than exporting it. MFC after: 1 month Modified: head/sbin/iscontrol/iscontrol.h head/sbin/iscontrol/pdu.c Modified: head/sbin/iscontrol/iscontrol.h ============================================================================== --- head/sbin/iscontrol/iscontrol.h Wed Feb 3 23:56:12 2010 (r203459) +++ head/sbin/iscontrol/iscontrol.h Wed Feb 3 23:58:00 2010 (r203460) @@ -144,7 +144,6 @@ int addText(pdu_t *pp, char *fmt, ...); void freePDU(pdu_t *pp); int xmitpdu(isess_t *sess, pdu_t *pp); int recvpdu(isess_t *sess, pdu_t *pp); -void pukeText(char *it, pdu_t *pp); int lookup(token_t *tbl, char *m); Modified: head/sbin/iscontrol/pdu.c ============================================================================== --- head/sbin/iscontrol/pdu.c Wed Feb 3 23:56:12 2010 (r203459) +++ head/sbin/iscontrol/pdu.c Wed Feb 3 23:58:00 2010 (r203460) @@ -46,6 +46,8 @@ __FBSDID("$FreeBSD$"); #include "iscsi.h" #include "iscontrol.h" +static void pukeText(char *it, pdu_t *pp); + int xmitpdu(isess_t *sess, pdu_t *pp) { @@ -153,7 +155,7 @@ freePDU(pdu_t *pp) pp->ds_size = pp->ds_len = 0; } -void +static void pukeText(char *it, pdu_t *pp) { char *ptr;