summaryrefslogtreecommitdiffstats
path: root/bin/pax/gen_subs.c
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2002-02-02 07:07:59 +0000
committerimp <imp@FreeBSD.org>2002-02-02 07:07:59 +0000
commit0496eb97bd3685c350b518a1271ae6ecaf15f8de (patch)
treed388079a68172ab01c9d94e0f17f1c69c3f83801 /bin/pax/gen_subs.c
parentc4d9fbc331549f824054af1dfa38806655130a26 (diff)
downloadFreeBSD-src-0496eb97bd3685c350b518a1271ae6ecaf15f8de.zip
FreeBSD-src-0496eb97bd3685c350b518a1271ae6ecaf15f8de.tar.gz
Ooops, forgot to remove the registers here.
Diffstat (limited to 'bin/pax/gen_subs.c')
-rw-r--r--bin/pax/gen_subs.c28
1 files changed, 14 insertions, 14 deletions
diff --git a/bin/pax/gen_subs.c b/bin/pax/gen_subs.c
index 4d7c65d..6daefa4 100644
--- a/bin/pax/gen_subs.c
+++ b/bin/pax/gen_subs.c
@@ -82,9 +82,9 @@ static int d_first = -1;
*/
void
-ls_list(register ARCHD *arcn, time_t now, FILE *fp)
+ls_list(ARCHD *arcn, time_t now, FILE *fp)
{
- register struct stat *sbp;
+ struct stat *sbp;
char f_mode[MODELEN];
char f_date[DATELEN];
char *timefrmt;
@@ -162,7 +162,7 @@ ls_list(register ARCHD *arcn, time_t now, FILE *fp)
*/
void
-ls_tty(register ARCHD *arcn)
+ls_tty(ARCHD *arcn)
{
char f_date[DATELEN];
char f_mode[MODELEN];
@@ -197,10 +197,10 @@ ls_tty(register ARCHD *arcn)
*/
int
-l_strncpy(register char *dest, register char *src, int len)
+l_strncpy(char *dest, char *src, int len)
{
- register char *stop;
- register char *start;
+ char *stop;
+ char *start;
stop = dest + len;
start = dest;
@@ -223,9 +223,9 @@ l_strncpy(register char *dest, register char *src, int len)
*/
u_long
-asc_ul(register char *str, int len, register int base)
+asc_ul(char *str, int len, int base)
{
- register char *stop;
+ char *stop;
u_long tval = 0;
stop = str + len;
@@ -266,9 +266,9 @@ asc_ul(register char *str, int len, register int base)
*/
int
-ul_asc(u_long val, register char *str, register int len, register int base)
+ul_asc(u_long val, char *str, int len, int base)
{
- register char *pt;
+ char *pt;
u_long digit;
/*
@@ -320,9 +320,9 @@ ul_asc(u_long val, register char *str, register int len, register int base)
*/
u_quad_t
-asc_uqd(register char *str, int len, register int base)
+asc_uqd(char *str, int len, int base)
{
- register char *stop;
+ char *stop;
u_quad_t tval = 0;
stop = str + len;
@@ -363,9 +363,9 @@ asc_uqd(register char *str, int len, register int base)
*/
int
-uqd_asc(u_quad_t val, register char *str, register int len, register int base)
+uqd_asc(u_quad_t val, char *str, int len, int base)
{
- register char *pt;
+ char *pt;
u_quad_t digit;
/*
OpenPOWER on IntegriCloud