File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -198,7 +198,7 @@ private:
198198 //
199199 // Look up item in table -- return zero if not found
200200 //
201- param_full * st_lookup (register char *key);
201+ param_full * st_lookup (char *key);
202202
203203 //
204204 // Insert an item into the table - replacing if it already exists
@@ -215,10 +215,10 @@ private:
215215 //
216216 void rehash (void );
217217
218- int strihash (register char *xypstring) {
219- register int val = 0 ;
220- register int c;
221- register int i = 0 ;
218+ int strihash (char *xypstring) {
219+ int val = 0 ;
220+ int c;
221+ int i = 0 ;
222222
223223 while ((c = *xypstring++) != ' \0 ' ) {
224224 if (isupper (c)) {
Original file line number Diff line number Diff line change @@ -510,8 +510,8 @@ void XYPlotParameters::WriteToFile(char *filename) {
510510//
511511//
512512// -------------------------------------------------------------------
513- param_full *XYPlotParameters::st_lookup (register char *key) {
514- register st_table_entry *ptr;
513+ param_full *XYPlotParameters::st_lookup (char *key) {
514+ st_table_entry *ptr;
515515
516516 // find entry.
517517 ptr = param_table.bins [strihash (key)];
@@ -532,7 +532,7 @@ param_full *XYPlotParameters::st_lookup(register char *key) {
532532int XYPlotParameters::st_insert (char *key, param_full *value) {
533533 int hash_val;
534534 st_table_entry *newentry;
535- register st_table_entry *ptr, **last;
535+ st_table_entry *ptr, **last;
536536
537537 hash_val = strihash (key);
538538
You can’t perform that action at this time.
0 commit comments