summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1995-12-14 01:43:31 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1995-12-14 01:43:31 +0000
commita10a6913325bfa093081ff08628e32d3b0f2a565 (patch)
tree0dbce778cc2ab39997d14bdb6ddb9eedebcdc432
parent1181aed9909bc9c93aee543341d8a1423a911ea8 (diff)
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 */