]> git.draconx.ca Git - upkg.git/blobdiff - src/libupkg.c
Don't use [static n] in prototypes.
[upkg.git] / src / libupkg.c
index ed652ac9fdd6e0cd0e39ae2cb087cdf09d56fd87..f6de123c8d972895522282ced9238acd739d110e 100644 (file)
@@ -132,7 +132,7 @@ size_t upkg_decode_index(long *val, const unsigned char *bytes, size_t n)
        return 0;
 }
 
-static struct upkg_priv *init_upkg(unsigned char hdr[static UPKG_HDR_SIZE])
+static struct upkg_priv *init_upkg(const unsigned char *hdr)
 {
        struct upkg_priv *pkg;