SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
19
editors/axe/patches/patch-Widgets_regexp_c
Normal file
19
editors/axe/patches/patch-Widgets_regexp_c
Normal file
|
@ -0,0 +1,19 @@
|
|||
--- Widgets/regexp.c.orig Wed Apr 6 18:07:43 1994
|
||||
+++ Widgets/regexp.c Wed Mar 16 19:24:55 2016
|
||||
@@ -28,6 +28,8 @@
|
||||
* regular-expression syntax might require a total rethink.
|
||||
*/
|
||||
#include <stdio.h>
|
||||
+#include <stdlib.h>
|
||||
+#include <string.h>
|
||||
#include "regexp.h"
|
||||
#include "regmagic.h"
|
||||
|
||||
@@ -199,7 +201,6 @@ char *exp;
|
||||
register char *longest;
|
||||
register int len;
|
||||
int flags;
|
||||
- extern char *malloc();
|
||||
|
||||
if (exp == NULL)
|
||||
FAIL("NULL argument");
|
Loading…
Add table
Add a link
Reference in a new issue