Skip to content
Snippets Groups Projects
Commit b191e626 authored by Henrik (Grubba) Grubbström's avatar Henrik (Grubba) Grubbström
Browse files

Converted some functions to ANSI.

Rev: src/modules/Regexp/pike_regexp.c:1.6
parent c8099b8f
No related branches found
No related tags found
No related merge requests found
...@@ -649,8 +649,7 @@ int *flagp; ...@@ -649,8 +649,7 @@ int *flagp;
/* /*
- regnode - emit a node - regnode - emit a node
*/ */
static char *regnode(op) static char *regnode(char op)
char op;
{ {
register char *ret; register char *ret;
register char *ptr; register char *ptr;
...@@ -672,8 +671,7 @@ char op; ...@@ -672,8 +671,7 @@ char op;
/* /*
- regc - emit (if appropriate) a byte of code - regc - emit (if appropriate) a byte of code
*/ */
static void regc(b) static void regc(char b)
char b;
{ {
if (regcode != &regdummy) if (regcode != &regdummy)
*regcode++ = b; *regcode++ = b;
...@@ -686,9 +684,7 @@ char b; ...@@ -686,9 +684,7 @@ char b;
* *
* Means relocating the operand. * Means relocating the operand.
*/ */
static void reginsert(op, opnd) static void reginsert(char op, char *opnd)
char op;
char *opnd;
{ {
register char *src; register char *src;
register char *dst; register char *dst;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment