$OpenBSD: patch-tests_test_error_response_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_error_response.c
--- tests/test_error_response.c.orig
+++ tests/test_error_response.c
@@ -16,8 +16,8 @@
 #include <stdlib.h>
 #include <string.h>
 
-coap_pdu_t *pdu;              /* Holds the request PDU for most tests */
-coap_opt_filter_t opts;              /* option filter used for generating responses */
+static coap_pdu_t *pdu;          /* Holds the request PDU for most tests */
+static coap_opt_filter_t opts;   /* option filter used for generating responses */
 
 /************************************************************************
  ** PDU decoder
