Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Feb 2010 23:58:00 +0000 (UTC)
From:      Xin LI <delphij@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r203460 - head/sbin/iscontrol
Message-ID:  <201002032358.o13Nw0hk046574@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201002032358.o13Nw0hk046574>