pukeText is an internal function so define it as static rather than

exporting it.

MFC after:	1 month
This commit is contained in:
Xin LI 2010-02-03 23:58:00 +00:00
parent 80ca1f34b5
commit 03040ae1cb
2 changed files with 3 additions and 2 deletions

View File

@ -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);

View File

@ -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;