diff options
Diffstat (limited to 'lib/libcompat/regexp/regsub.c')
-rw-r--r-- | lib/libcompat/regexp/regsub.c | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/lib/libcompat/regexp/regsub.c b/lib/libcompat/regexp/regsub.c index e55b9b6..4ab921c 100644 --- a/lib/libcompat/regexp/regsub.c +++ b/lib/libcompat/regexp/regsub.c @@ -18,6 +18,10 @@ * 3. Altered versions must be plainly marked as such, and must not * be misrepresented as being the original software. */ + +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); + #include <regexp.h> #include <stdio.h> #include <string.h> @@ -38,11 +42,11 @@ const regexp *prog; const char *source; char *dest; { - register char *src; - register char *dst; - register char c; - register int no; - register int len; + char *src; + char *dst; + char c; + int no; + int len; extern char *strncpy(); if (prog == NULL || source == NULL || dest == NULL) { |