OSSP CVS Repository

ossp - Difference in ossp-pkg/rc/rc_private.h versions 1.9 and 1.10
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/rc/rc_private.h 1.9 -> 1.10

--- rc_private.h 2002/04/09 17:01:54     1.9
+++ rc_private.h 2002/04/11 16:52:45     1.10
@@ -38,16 +38,18 @@
 #include <assert.h>
 #ifndef DEBUG
 #define NDEBUG
-#define TRACE(str) ((void)0)
-#define TRACEL(long) ((void)0)
+#define TRACE(str)  ((void)0)
+#define TRACEL(num) ((void)0)
 #else
 #define TRACE(str)  fprintf(stderr, "%s:%d: %s\n", __FILE__, __LINE__, str)
-#define TRACEL(long)  fprintf(stderr, "%s:%d: %ld\n", __FILE__, __LINE__, long)
+#define TRACEL(num) fprintf(stderr, "%s:%d: %ld\n", __FILE__, __LINE__, (long int)num)
 #endif
 
 /* The GUID for OSSP rc */
 #define RC_STR_ID "OSSP rc"
 
+/* Intentional no operation */
+#define RC_NOP ((void)0)
 
 /* Memory debugging support */
 #if defined(HAVE_DMALLOC_H) && defined(WITH_DMALLOC)
@@ -60,9 +62,6 @@
     ((rv) != RC_OK && (ex_catching && !ex_shielding) \
      ? (ex_throw(RC_STR_ID, NULL, (rv)), (rv)) : (rv))
 
-typedef struct {    /* Simple linked list definition    */
-    void *pvData;
-    void *pvNext;
-} rc_list_t;
+typedef int rc_opt_t;   /* For use with RC_XXX_VAL definitions  */
 
 #endif /* __OSSPRC_PRIVATE_H__ */

CVSTrac 2.0.1