summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2009-12-18 14:25:07 -0800
committerJeremy Allison <jra@samba.org>2009-12-18 14:25:07 -0800
commit69d26d25f7f2a46e87337fa50af4ed0a1b11a2b5 (patch)
tree349ae250b5fb3d2e22ec8244acbfc7524daee82d
parentdaa561d75ba64f8034cd529243a4e71219b01c6f (diff)
downloadsamba-69d26d25f7f2a46e87337fa50af4ed0a1b11a2b5.tar.gz
samba-69d26d25f7f2a46e87337fa50af4ed0a1b11a2b5.tar.bz2
samba-69d26d25f7f2a46e87337fa50af4ed0a1b11a2b5.zip
reply_force_nterror() is not used anywhere. Remove it.
Jeremy.
-rw-r--r--source3/include/proto.h2
-rw-r--r--source3/include/smb_macros.h1
2 files changed, 0 insertions, 3 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index ab74c9cb95..f138306f52 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -6277,8 +6277,6 @@ void error_packet_set(char *outbuf, uint8 eclass, uint32 ecode, NTSTATUS ntstatu
int error_packet(char *outbuf, uint8 eclass, uint32 ecode, NTSTATUS ntstatus, int line, const char *file);
void reply_nt_error(struct smb_request *req, NTSTATUS ntstatus,
int line, const char *file);
-void reply_force_nt_error(struct smb_request *req, NTSTATUS ntstatus,
- int line, const char *file);
void reply_dos_error(struct smb_request *req, uint8 eclass, uint32 ecode,
int line, const char *file);
void reply_both_error(struct smb_request *req, uint8 eclass, uint32 ecode,
diff --git a/source3/include/smb_macros.h b/source3/include/smb_macros.h
index 10ee78b394..a4a9ca088a 100644
--- a/source3/include/smb_macros.h
+++ b/source3/include/smb_macros.h
@@ -112,7 +112,6 @@
#define ERROR_BOTH(status,class,code) error_packet(outbuf,class,code,status,__LINE__,__FILE__)
#define reply_nterror(req,status) reply_nt_error(req,status,__LINE__,__FILE__)
-#define reply_force_nterror(req,status) reply_force_nt_error(req,status,__LINE__,__FILE__)
#define reply_doserror(req,eclass,ecode) reply_dos_error(req,eclass,ecode,__LINE__,__FILE__)
#define reply_botherror(req,status,eclass,ecode) reply_both_error(req,eclass,ecode,status,__LINE__,__FILE__)