]> git.proxmox.com Git - wasi-libc.git/commitdiff
Fix a warning about a spurious redundant static keyword.
authorDan Gohman <sunfish@mozilla.com>
Thu, 29 Aug 2019 14:01:59 +0000 (07:01 -0700)
committerDan Gohman <sunfish@mozilla.com>
Thu, 29 Aug 2019 17:27:41 +0000 (10:27 -0700)
libc-bottom-half/libpreopen/lib/po_err.c

index a8ed5a8ca6a3e0c6c2b60ca0b62f95d49214ea91..db3b90b39d78e7a611ed89ff71286b35b36a6967 100644 (file)
 static char error_buffer[1024];
 #endif
 
+#if !defined(NDEBUG)
 #ifdef __wasilibc_unmodified_upstream
 #else
 static
 #endif
-#if !defined(NDEBUG)
 void
 po_map_assertvalid(const struct po_map *map)
 {