summaryrefslogtreecommitdiffstats
path: root/lib/libcompat/regexp/regsub.c
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2002-03-21 23:39:28 +0000
committerobrien <obrien@FreeBSD.org>2002-03-21 23:39:28 +0000
commit084b4588f24346b3d369eaf49193461c380e8521 (patch)
tree1cbfa8bb28a9bf0d0b93ca61ac5323ef95e4c7f7 /lib/libcompat/regexp/regsub.c
parent454845084c112df969ca14adced4fd6c1d7305b6 (diff)
downloadFreeBSD-src-084b4588f24346b3d369eaf49193461c380e8521.zip
FreeBSD-src-084b4588f24346b3d369eaf49193461c380e8521.tar.gz
Remove 'register' keyword.
Diffstat (limited to 'lib/libcompat/regexp/regsub.c')
-rw-r--r--lib/libcompat/regexp/regsub.c14
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) {
OpenPOWER on IntegriCloud