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