diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-11-01 16:00:41 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-11-01 16:00:41 +0100 |
commit | af2940459d94fa6ab02e6fcbd7becfdac168e918 (patch) | |
tree | 08cb770d793b107f685d25b587afdbd933313000 | |
parent | d3df4061d9e0a3f0cae161022ee9253b7295bd58 (diff) | |
download | samba-af2940459d94fa6ab02e6fcbd7becfdac168e918.tar.gz samba-af2940459d94fa6ab02e6fcbd7becfdac168e918.tar.bz2 samba-af2940459d94fa6ab02e6fcbd7becfdac168e918.zip |
Fix prototype for attrib_string().
-rw-r--r-- | source4/client/client.c | 1 | ||||
-rw-r--r-- | source4/libcli/config.mk | 2 | ||||
-rw-r--r-- | source4/libcli/raw/rawfile.c | 2 |
3 files changed, 3 insertions, 2 deletions
diff --git a/source4/client/client.c b/source4/client/client.c index 7eb14a2ce1..02f46852b1 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 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 { |