Forgot to check these in
diff --git a/inc/qcbor/qcbor_encode.h b/inc/qcbor/qcbor_encode.h
index 79b92ac..2270544 100644
--- a/inc/qcbor/qcbor_encode.h
+++ b/inc/qcbor/qcbor_encode.h
@@ -633,13 +633,6 @@
QCBOREncode_Allow(QCBOREncodeContext *pCtx, uint8_t uAllow);
-/*
- * QCBOR_ENCODE_CONFIG_V1_COMPAT
- */
-static void
-QCBOREncode_Setv1Compatibility(QCBOREncodeContext *pCtx);
-
-
/**
* @brief Add a signed 64-bit integer to the encoded output.
*
@@ -3289,12 +3282,6 @@
#endif /* ! QCBOR_DISABLE_ENCODE_USAGE_GUARDS */
}
-static inline void
-QCBOREncode_Setv1Compatibility(QCBOREncodeContext *pMe)
-{
- pMe->uConfig = QCBOR_ENCODE_CONFIG_V1_COMPAT;
-}
-
static inline void
diff --git a/inc/qcbor/qcbor_private.h b/inc/qcbor/qcbor_private.h
index 7e3b1b7..804f002 100644
--- a/inc/qcbor/qcbor_private.h
+++ b/inc/qcbor/qcbor_private.h
@@ -231,20 +231,12 @@
#define QCBOR_ENCODE_MODE_DCBOR 3
-// TODO: probably get rid of this
-/* Operate in compatibility with QCBOR 1.0
- * So far the differences are:
- * - AddNegativeBigNum and AddBigFloat with a negative big num
- */
-#define QCBOR_ENCODE_CONFIG_V1_COMPAT 0x01
-
struct _QCBOREncodeContext {
/* PRIVATE DATA STRUCTURE */
UsefulOutBuf OutBuf; /* Pointer to output buffer, its length and
* position in it. */
uint8_t uError; /* Error state, always from QCBORError enum */
uint8_t uMode; /* @ref QCBOR_ENCODE_MODE_PREFERRED or related */
- uint8_t uConfig; /* QCBOR_ENCODE_CONFIG_xxx */
uint8_t uAllow; /* @ref QCBOR_ENCODE_ALLOW_NAN_PAYLOAD, ... */
void (*pfnCloseMap)(QCBORPrivateEncodeContext *); /* Use of function
* pointer explained in QCBOREncode_SerializationCDE() */