summaryrefslogtreecommitdiff
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
parentd3df4061d9e0a3f0cae161022ee9253b7295bd58 (diff)
downloadsamba-af2940459d94fa6ab02e6fcbd7becfdac168e918.tar.gz
Fix prototype for attrib_string().
-rw-r--r--source4/client/client.c1
-rw-r--r--source4/libcli/config.mk2
-rw-r--r--source4/libcli/raw/rawfile.c2
3 files changed, 3 insertions, 2 deletions
diff --git a/source4/client/client.c b/source4/client/client.c
index 7eb14a2ce12..02f46852b1a 100644
--- a/source4/client/client.c
+++ b/source4/client/client.c
@@ -52,6 +52,7 @@
#include "librpc/gen_ndr/ndr_nbt.h"
#include "param/param.h"
#include "librpc/rpc/dcerpc.h"
+#include "libcli/raw/raw_proto.h"
/* the default pager to use for the client "more" command. Users can
* override this with the PAGER environment variable */
diff --git a/source4/libcli/config.mk b/source4/libcli/config.mk
index 8c31077d8c1..4d84b204b28 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 d174fbfc28d..8cabac6d042 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 {