Make der_pack_prepack() static
authorTim Rühsen <tim.ruehsen@gmx.de>
Fri, 11 Mar 2016 12:40:04 +0000 (13:40 +0100)
committerTim Rühsen <tim.ruehsen@gmx.de>
Fri, 11 Mar 2016 12:40:04 +0000 (13:40 +0100)
lib/der_pack.c

index dd03750..ee6a7c6 100644 (file)
@@ -15,7 +15,7 @@
  * total insertion.  In this case, the function may return DER_DERLEN_ERROR
  * to indicate an error.
  */
-size_t der_pack_prepack (const derprep *derp, uint8_t **bufend) {
+static size_t der_pack_prepack (const derprep *derp, uint8_t **bufend) {
        size_t totlen = 0;
        size_t elmlen;
        size_t cnt = derp->derlen_msb & ~DER_DERLEN_FLAG_CONSTRUCTED;