summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2001-08-14 06:08:50 +0000
committerJeremy Allison <jra@samba.org>2001-08-14 06:08:50 +0000
commite7fe7fa06fe3fb695f248dae892b5f564f8f4c13 (patch)
treea4ed1825b7c318df9fd2f0ca7e95e88762c26a53
parent2dde4311cdcc5738f9f67a9baf19102719de89cf (diff)
downloadsamba-e7fe7fa06fe3fb695f248dae892b5f564f8f4c13.tar.gz
samba-e7fe7fa06fe3fb695f248dae892b5f564f8f4c13.tar.xz
samba-e7fe7fa06fe3fb695f248dae892b5f564f8f4c13.zip
Moved position of error defines to match HEAD.
Jeremy.
-rw-r--r--source/include/doserr.h7
-rw-r--r--source/include/smb.h4
2 files changed, 7 insertions, 4 deletions
diff --git a/source/include/doserr.h b/source/include/doserr.h
index 6e3ab911734..8043d3b372d 100644
--- a/source/include/doserr.h
+++ b/source/include/doserr.h
@@ -25,6 +25,13 @@
#ifndef _DOSERR_H
#define _DOSERR_H
+/* Error classes */
+
+#define ERRDOS 0x01 /* Error is from the core DOS operating system set. */
+#define ERRSRV 0x02 /* Error is generated by the server network file manager.*/
+#define ERRHRD 0x03 /* Error is an hardware error. */
+#define ERRCMD 0xFF /* Command was not in the "SMB" format. */
+
/* SMB X/Open error codes for the ERRDOS error class */
#define ERRsuccess 0 /* No error */
#define ERRbadfunc 1 /* Invalid function (or system call) */
diff --git a/source/include/smb.h b/source/include/smb.h
index 9f65a8b79db..8444912e72e 100644
--- a/source/include/smb.h
+++ b/source/include/smb.h
@@ -1118,10 +1118,6 @@ struct bitmap {
#define SMB_SUCCESS 0 /* The request was successful. */
-#define ERRDOS 0x01 /* Error is from the core DOS operating system set. */
-#define ERRSRV 0x02 /* Error is generated by the server network file manager.*/
-#define ERRHRD 0x03 /* Error is an hardware error. */
-#define ERRCMD 0xFF /* Command was not in the "SMB" format. */
#ifdef HAVE_STDARG_H
int slprintf(char *str, int n, char *format, ...)