943807
diff --git a/regress/misc/sk-dummy/sk-dummy.c b/regress/misc/sk-dummy/sk-dummy.c
943807
index dca158de..afdcb1d2 100644
943807
--- a/regress/misc/sk-dummy/sk-dummy.c
943807
+++ b/regress/misc/sk-dummy/sk-dummy.c
943807
@@ -71,7 +71,7 @@ skdebug(const char *func, const char *fmt, ...)
943807
 #endif
943807
 }
943807
 
943807
-uint32_t
943807
+uint32_t __attribute__((visibility("default")))
943807
 sk_api_version(void)
943807
 {
943807
 	return SSH_SK_VERSION_MAJOR;
943807
@@ -220,7 +220,7 @@ check_options(struct sk_option **options)
943807
 	return 0;
943807
 }
943807
 
943807
-int
943807
+int __attribute__((visibility("default")))
943807
 sk_enroll(uint32_t alg, const uint8_t *challenge, size_t challenge_len,
943807
     const char *application, uint8_t flags, const char *pin,
943807
     struct sk_option **options, struct sk_enroll_response **enroll_response)
943807
@@ -467,7 +467,7 @@ sig_ed25519(const uint8_t *message, size_t message_len,
943807
 	return ret;
943807
 }
943807
 
943807
-int
943807
+int __attribute__((visibility("default")))
943807
 sk_sign(uint32_t alg, const uint8_t *data, size_t datalen,
943807
     const char *application, const uint8_t *key_handle, size_t key_handle_len,
943807
     uint8_t flags, const char *pin, struct sk_option **options,
943807
@@ -518,7 +518,7 @@ sk_sign(uint32_t alg, const uint8_t *message, size_t message_len,
943807
 	return ret;
943807
 }
943807
 
943807
-int
943807
+int __attribute__((visibility("default")))
943807
 sk_load_resident_keys(const char *pin, struct sk_option **options,
943807
     struct sk_resident_key ***rks, size_t *nrks)
943807
 {