remove register from variable declarations

This commit is contained in:
nhmall
2024-02-19 16:30:07 -05:00
parent 6f569f0a27
commit 688ac6ffbe
113 changed files with 836 additions and 835 deletions
+5 -5
View File
@@ -391,8 +391,8 @@ split(char *s,
static void
add_line(struct mesg_info_t *mesg_info, const char *s)
{
register struct line_element *curr = mesg_info->head;
register int new_line_length = strlen(s);
struct line_element *curr = mesg_info->head;
int new_line_length = strlen(s);
if (new_line_length + 1 > curr->buf_length) {
if (curr->line)
@@ -420,7 +420,7 @@ add_line(struct mesg_info_t *mesg_info, const char *s)
void
set_last_pause(struct xwindow *wp)
{
register struct mesg_info_t *mesg_info = wp->mesg_information;
struct mesg_info_t *mesg_info = wp->mesg_information;
#ifdef ERASE_LINE
/*
@@ -448,8 +448,8 @@ static void
redraw_message_window(struct xwindow *wp)
{
struct mesg_info_t *mesg_info = wp->mesg_information;
register struct line_element *curr;
register int row, y_base;
struct line_element *curr;
int row, y_base;
/*
* Do this the cheap and easy way. Clear the window and just redraw