summaryrefslogtreecommitdiff
path: root/source/include/ntdomain.h
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2003-01-03 08:28:12 +0000
committerAndrew Bartlett <abartlet@samba.org>2003-01-03 08:28:12 +0000
commit3a7458f9472432ef12c43008414925fd1ce8ea0c (patch)
tree185f6140d3895e4d5304e4ef3f5ce4d7a34a7e82 /source/include/ntdomain.h
parent96e9fa5f224966531fa8f9cf18cbc4bbb2fe60ed (diff)
downloadsamba-3a7458f9472432ef12c43008414925fd1ce8ea0c.tar.gz
Merge from HEAD - make Samba compile with -Wwrite-strings without additional
warnings. (Adds a lot of const). Andrew Bartlett
Diffstat (limited to 'source/include/ntdomain.h')
-rw-r--r--source/include/ntdomain.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/include/ntdomain.h b/source/include/ntdomain.h
index 628035885e1..cf5bb5046c7 100644
--- a/source/include/ntdomain.h
+++ b/source/include/ntdomain.h
@@ -331,7 +331,7 @@ typedef struct smb_np_struct
struct api_struct
{
- char *name;
+ const char *name;
uint8 opnum;
BOOL (*fn) (pipes_struct *);
};
@@ -339,7 +339,7 @@ struct api_struct
typedef struct
{
uint32 rid;
- char *name;
+ const char *name;
} rid_name;