diff options
Diffstat (limited to 'gold/errors.h')
-rw-r--r-- | gold/errors.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/gold/errors.h b/gold/errors.h index 17b72e10b36..efc0d1ebe9f 100644 --- a/gold/errors.h +++ b/gold/errors.h @@ -95,10 +95,14 @@ class Errors // Initialize the lock. We don't do this in the constructor because // lock initialization wants to know whether we are using threads or - // not. - void + // not. This returns true if the lock is now initialized. + bool initialize_lock(); + // Increment a counter, holding the lock. + void + increment_counter(int*); + // The number of times we report an undefined symbol. static const int max_undefined_error_report = 5; |