pull string.h for needed prototypes, get rid of unused variables

no response from maintainer shell@
This commit is contained in:
pvalchev 2003-01-02 06:40:55 +00:00
parent e348cc06e4
commit d41281ff90

View File

@ -0,0 +1,18 @@
$OpenBSD: patch-src_gtkasp2php_c,v 1.1 2003/01/02 06:40:55 pvalchev Exp $
--- src/gtkasp2php.c.orig Mon Jul 29 02:33:13 2002
+++ src/gtkasp2php.c Sun Dec 22 13:24:15 2002
@@ -1,5 +1,6 @@
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#include <dirent.h>
#include <unistd.h>
#include <gtk/gtk.h>
@@ -66,7 +67,6 @@ char targetdir[2048];
char command[2048];
char arguments[2048];
DIR *dp_asp;
-DIR *dp_php;
int t;
convert=1;