tptregexp/regsub.c: use string.h
This commit is contained in:
@@ -42,6 +42,7 @@
|
|||||||
* be misrepresented as being the original software.
|
* be misrepresented as being the original software.
|
||||||
*/
|
*/
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
#include <string.h>
|
||||||
#include <tptregexp.h>
|
#include <tptregexp.h>
|
||||||
#include "regmagic.h"
|
#include "regmagic.h"
|
||||||
|
|
||||||
@@ -62,7 +63,6 @@ tpt_regsub(regexp *prog, char *source, char *dest)
|
|||||||
char c;
|
char c;
|
||||||
int no;
|
int no;
|
||||||
int len;
|
int len;
|
||||||
extern char *strncpy();
|
|
||||||
|
|
||||||
if (prog == NULL || source == NULL || dest == NULL) {
|
if (prog == NULL || source == NULL || dest == NULL) {
|
||||||
tpt_regerror("NULL parm to regsub");
|
tpt_regerror("NULL parm to regsub");
|
||||||
|
|||||||
Reference in New Issue
Block a user