1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-03-09 15:50:02 +00:00

tptregexp/regsub.c: use string.h

This commit is contained in:
Jon Trulson 2021-10-23 14:13:33 -06:00
parent e0508b3130
commit d880853113

View file

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