[3.0.0] rpcclient/rpcclient.h problem with IBM C compiler

Albert Chin samba-technical at thewrittenword.com
Mon Oct 27 23:27:38 GMT 2003


The IBM C compiler doesn't like trailing commas on enums.

-- 
albert chin (china at thewrittenword.com)

-- snip snip
--- source/rpcclient/rpcclient.h.orig	Mon Oct 27 16:36:09 2003
+++ source/rpcclient/rpcclient.h	Mon Oct 27 16:36:22 2003
@@ -25,7 +25,7 @@
 typedef enum {
         RPC_RTYPE_NTSTATUS = 0,
         RPC_RTYPE_WERROR,
-        MAX_RPC_RETURN_TYPE,
+        MAX_RPC_RETURN_TYPE
 } RPC_RETURN_TYPE;
 
 struct cmd_set {



More information about the samba-technical mailing list