summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>1995-12-14 01:43:29 +0000
committerderaadt <deraadt@openbsd.org>1995-12-14 01:43:29 +0000
commit93231be969d6f71ff7c7f374b6840d3bfbf74e23 (patch)
treedd3a46fad89d022f541f0312ef87ab384475ea25
parentfrom thorpej@netbsd: (diff)
downloadwireguard-openbsd-93231be969d6f71ff7c7f374b6840d3bfbf74e23.tar.xz
wireguard-openbsd-93231be969d6f71ff7c7f374b6840d3bfbf74e23.zip
use string.h
-rw-r--r--usr.sbin/gspa/gspa/gsp_lex.c2
-rw-r--r--usr.sbin/gspa/gspa/gsp_out.c1
-rw-r--r--usr.sbin/gspa/gspa/gsp_sym.c2
3 files changed, 4 insertions, 1 deletions
diff --git a/usr.sbin/gspa/gspa/gsp_lex.c b/usr.sbin/gspa/gspa/gsp_lex.c
index 6327f281fdc..882c099b676 100644
--- a/usr.sbin/gspa/gspa/gsp_lex.c
+++ b/usr.sbin/gspa/gspa/gsp_lex.c
@@ -34,7 +34,7 @@
#include "y.tab.h"
#include <ctype.h>
#include <stdlib.h>
-/*#include <string.h>*/
+#include <string.h>
char *lineptr;
diff --git a/usr.sbin/gspa/gspa/gsp_out.c b/usr.sbin/gspa/gspa/gsp_out.c
index 4dcf7b39270..12e90c7747a 100644
--- a/usr.sbin/gspa/gspa/gsp_out.c
+++ b/usr.sbin/gspa/gspa/gsp_out.c
@@ -30,6 +30,7 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include <stdio.h>
+#include <string.h>
#include "gsp_ass.h"
u_int16_t codes[5];
diff --git a/usr.sbin/gspa/gspa/gsp_sym.c b/usr.sbin/gspa/gspa/gsp_sym.c
index 742348acb0e..74105f79721 100644
--- a/usr.sbin/gspa/gspa/gsp_sym.c
+++ b/usr.sbin/gspa/gspa/gsp_sym.c
@@ -29,6 +29,8 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
+#include <string.h>
#include "gsp_ass.h"
#define NHASH 64 /* must be power of 2 */