summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2004-11-10 10:56:43 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:05:42 -0500
commitcb700e90c22d9e301a05142699df7b64402a08d8 (patch)
treeba72c5f468cffdf3251a2d3d96c40b6659e8e3d3 /source4
parentf1119474fa2bdaffba6bb6dee8b2fe2f3bf5a826 (diff)
downloadsamba-cb700e90c22d9e301a05142699df7b64402a08d8.tar.gz
samba-cb700e90c22d9e301a05142699df7b64402a08d8.tar.bz2
samba-cb700e90c22d9e301a05142699df7b64402a08d8.zip
r3654: Add static and fix indentation.
Andrew Bartlett (This used to be commit cef31134ec4cd09eafd4f9f8f64e5fe3d68f19de)
Diffstat (limited to 'source4')
-rw-r--r--source4/libcli/raw/rawreadwrite.c2
-rw-r--r--source4/libcli/raw/rawrequest.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source4/libcli/raw/rawreadwrite.c b/source4/libcli/raw/rawreadwrite.c
index 4978514d26..8381c7b2b0 100644
--- a/source4/libcli/raw/rawreadwrite.c
+++ b/source4/libcli/raw/rawreadwrite.c
@@ -256,7 +256,7 @@ struct smbcli_request *smb_raw_write_send(struct smbcli_tree *tree, union smb_wr
}
if (!smbcli_request_send(req)) {
-smbcli_request_destroy(req);
+ smbcli_request_destroy(req);
return NULL;
}
diff --git a/source4/libcli/raw/rawrequest.c b/source4/libcli/raw/rawrequest.c
index 8d0767b3f5..b56bfa9a3c 100644
--- a/source4/libcli/raw/rawrequest.c
+++ b/source4/libcli/raw/rawrequest.c
@@ -225,7 +225,7 @@ static void smbcli_req_grow_allocation(struct smbcli_request *req, uint_t new_si
To cope with this req->out.ptr is supplied. This will be updated to
point at the same offset into the packet as before this call
*/
-void smbcli_req_grow_data(struct smbcli_request *req, uint_t new_size)
+static void smbcli_req_grow_data(struct smbcli_request *req, uint_t new_size)
{
int delta;