$OpenBSD: patch-tests_test_wellknown_c,v 1.1 2021/02/03 13:50:12 sthen Exp $

From bbc6b24abdd95a7d9dfe9855630e6f0f27f48e54 Mon Sep 17 00:00:00 2001
From: Olaf Bergmann <bergmann@tzi.org>
Date: Wed, 26 Feb 2020 12:49:38 +0100
Subject: [PATCH] unit tests: Make global variables static

Index: tests/test_wellknown.c
--- tests/test_wellknown.c.orig
+++ tests/test_wellknown.c
@@ -22,10 +22,10 @@
 #define TEST_PDU_SIZE 120
 #define TEST_URI_LEN    4
 
-coap_context_t *ctx;           /* Holds the coap context for most tests */
-coap_pdu_t *pdu;           /* Holds the parsed PDU for most tests */
-coap_session_t *session;   /* Holds a reference-counted session object
-                            * that is passed to coap_wellknown_response(). */
+static coap_context_t *ctx;       /* Holds the coap context for most tests */
+static coap_pdu_t *pdu;           /* Holds the parsed PDU for most tests */
+static coap_session_t *session;   /* Holds a reference-counted session object
+                                   * that is passed to coap_wellknown_response(). */
 
 static void
 t_wellknown1(void) {
