Fix prototype for attrib_string().
authorJelmer Vernooij <jelmer@samba.org>
Sat, 1 Nov 2008 15:00:41 +0000 (16:00 +0100)
committerJelmer Vernooij <jelmer@samba.org>
Sat, 1 Nov 2008 15:00:41 +0000 (16:00 +0100)
source4/client/client.c
source4/libcli/config.mk
source4/libcli/raw/rawfile.c

index 7eb14a2ce128e711e9ce4d4d1a89443496a7c7e2..02f46852b1a2baae9a0ea11f759f3401cfe141b4 100644 (file)
@@ -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 */
index 8c31077d8c1e4eef0bf36613996499a5e8c66c96..4d84b204b28e7638c81f84f248628c65868ef650 100644 (file)
@@ -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
index d174fbfc28d5aff3c3a3a316975d585f9bf0c86d..8cabac6d042c467b235e5cc20b0ed3bbacbea050 100644 (file)
@@ -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 {