summaryrefslogtreecommitdiff
path: root/source4/libcli
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-11-01 16:00:41 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-11-01 16:00:41 +0100
commitaf2940459d94fa6ab02e6fcbd7becfdac168e918 (patch)
tree08cb770d793b107f685d25b587afdbd933313000 /source4/libcli
parentd3df4061d9e0a3f0cae161022ee9253b7295bd58 (diff)
downloadsamba-af2940459d94fa6ab02e6fcbd7becfdac168e918.tar.gz
samba-af2940459d94fa6ab02e6fcbd7becfdac168e918.tar.bz2
samba-af2940459d94fa6ab02e6fcbd7becfdac168e918.zip
Fix prototype for attrib_string().
Diffstat (limited to 'source4/libcli')
-rw-r--r--source4/libcli/config.mk2
-rw-r--r--source4/libcli/raw/rawfile.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source4/libcli/config.mk b/source4/libcli/config.mk
index 8c31077d8c..4d84b204b2 100644
--- a/source4/libcli/config.mk
+++ b/source4/libcli/config.mk
@@ -177,6 +177,6 @@ LIBCLI_RAW_OBJ_FILES = $(addprefix $(libclisrcdir)/raw/, rawfile.o smb_signing.o
rawioctl.o rawacl.o rawdate.o rawlpq.o rawshadow.o)
-$(eval $(call proto_header_template,$(libclisrcdir)/raw/raw_proto.h,$(LIBCLI_RAW_OBJ_FILES:.o=.c)))
+$(eval $(call proto_header_template,$(libclisrcdir)/raw/raw_proto.h,$(LIBCLI_RAW_OBJ_FILES)))
mkinclude smb2/config.mk
diff --git a/source4/libcli/raw/rawfile.c b/source4/libcli/raw/rawfile.c
index d174fbfc28..8cabac6d04 100644
--- a/source4/libcli/raw/rawfile.c
+++ b/source4/libcli/raw/rawfile.c
@@ -33,7 +33,7 @@
/**
Return a string representing a CIFS attribute for a file.
**/
-_PUBLIC_ char *attrib_string(TALLOC_CTX *mem_ctx, uint32_t attrib)
+char *attrib_string(TALLOC_CTX *mem_ctx, uint32_t attrib)
{
int i, len;
const struct {