mirror of
https://git.freebsd.org/ports.git
synced 2025-05-14 16:21:50 -04:00
-fPIC was missing in some cases, and this was somehow flying on 14 but was failing on 15. Reported by: fallout
15 lines
400 B
C
15 lines
400 B
C
--- tests/sni_test.c.orig 2024-01-22 07:32:06 UTC
|
|
+++ tests/sni_test.c
|
|
@@ -1,10 +1,10 @@
|
|
-extern "C" {
|
|
+//extern "C" {
|
|
void *sni_new();
|
|
void sni_free(void *sni, void (*cb)(void *user));
|
|
int sni_add(void *sni, const char *hostname, void *user);
|
|
void *sni_remove(void *sni, const char *hostname);
|
|
void *sni_find(void *sni, const char *hostname);
|
|
-}
|
|
+//}
|
|
|
|
#include <assert.h>
|
|
#include <stdio.h>
|