summaryrefslogtreecommitdiffstats
path: root/ktalkd/ktalkd/table.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ktalkd/ktalkd/table.cpp')
-rw-r--r--ktalkd/ktalkd/table.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/ktalkd/ktalkd/table.cpp b/ktalkd/ktalkd/table.cpp
index 476267e8..8c629cf5 100644
--- a/ktalkd/ktalkd/table.cpp
+++ b/ktalkd/ktalkd/table.cpp
@@ -62,7 +62,7 @@
*/
NEW_CTL_MSG * KTalkdTable::find_match(NEW_CTL_MSG *request)
{
- register TABLE_ENTRY *ptr;
+ TABLE_ENTRY *ptr;
time_t current_time;
(void) gettimeofday(&tp, &txp);
@@ -92,7 +92,7 @@ NEW_CTL_MSG * KTalkdTable::find_match(NEW_CTL_MSG *request)
*/
NEW_CTL_MSG * KTalkdTable::find_request(NEW_CTL_MSG *request)
{
- register TABLE_ENTRY *ptr;
+ TABLE_ENTRY *ptr;
time_t current_time;
(void) gettimeofday(&tp, &txp);
@@ -124,7 +124,7 @@ NEW_CTL_MSG * KTalkdTable::find_request(NEW_CTL_MSG *request)
void KTalkdTable::insert_table(NEW_CTL_MSG *request, NEW_CTL_RESPONSE *response, ForwMachine * fwm)
{
- register TABLE_ENTRY *ptr;
+ TABLE_ENTRY *ptr;
time_t current_time;
gettimeofday(&tp, &txp);
@@ -167,7 +167,7 @@ int KTalkdTable::new_id()
*/
int KTalkdTable::delete_invite(uint32_t id_num)
{
- register TABLE_ENTRY *ptr;
+ TABLE_ENTRY *ptr;
ptr = table;
ktalk_debug("delete_invite(%d)", id_num);
@@ -189,7 +189,7 @@ int KTalkdTable::delete_invite(uint32_t id_num)
/*
* Classic delete from a double-linked list
*/
-void KTalkdTable::delete_entry(register TABLE_ENTRY *ptr)
+void KTalkdTable::delete_entry(TABLE_ENTRY *ptr)
{
if (table == ptr)
table = ptr->next;
@@ -202,7 +202,7 @@ void KTalkdTable::delete_entry(register TABLE_ENTRY *ptr)
KTalkdTable::~KTalkdTable()
{
- register TABLE_ENTRY *ptr;
+ TABLE_ENTRY *ptr;
ptr = table;
ktalk_debug("final_clean()");
for (ptr = table; ptr != 0L; ptr = ptr->next) {