remove register from variable declarations
This commit is contained in:
+5
-5
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user