diff options
author | delphij <delphij@FreeBSD.org> | 2010-03-05 00:32:22 +0000 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2010-03-05 00:32:22 +0000 |
commit | f6448995715a495126d7ae3946c9f50a41ad4420 (patch) | |
tree | 0a30c1deb98d967c0a73499c31ddb4f70cf7ced4 | |
parent | a8f46feadae1104d725517e9a0544a489ba89da3 (diff) | |
download | FreeBSD-src-f6448995715a495126d7ae3946c9f50a41ad4420.zip FreeBSD-src-f6448995715a495126d7ae3946c9f50a41ad4420.tar.gz |
MFC r203460:
pukeText is an internal function so define it as static rather than
exporting it.
-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; |