diff options
author | delphij <delphij@FreeBSD.org> | 2010-02-03 23:58:00 +0000 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2010-02-03 23:58:00 +0000 |
commit | 381d1ae5cf2457200e976dde6df214b1deaf0fd0 (patch) | |
tree | 55aeffaccb5b1e9df7fdd09eb59be08bb060e6e5 /sbin/iscontrol | |
parent | 934832db48958bd34fd0b58dfe676a5788151273 (diff) | |
download | FreeBSD-src-381d1ae5cf2457200e976dde6df214b1deaf0fd0.zip FreeBSD-src-381d1ae5cf2457200e976dde6df214b1deaf0fd0.tar.gz |
pukeText is an internal function so define it as static rather than
exporting it.
MFC after: 1 month
Diffstat (limited to 'sbin/iscontrol')
-rw-r--r-- | sbin/iscontrol/iscontrol.h | 1 | ||||
-rw-r--r-- | sbin/iscontrol/pdu.c | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/sbin/iscontrol/iscontrol.h b/sbin/iscontrol/iscontrol.h index a89d7af..5ab296d 100644 --- a/sbin/iscontrol/iscontrol.h +++ b/sbin/iscontrol/iscontrol.h @@ -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); diff --git a/sbin/iscontrol/pdu.c b/sbin/iscontrol/pdu.c index 980d20a..444c1f1 100644 --- a/sbin/iscontrol/pdu.c +++ b/sbin/iscontrol/pdu.c @@ -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; |