1
0
mirror of https://git.savannah.gnu.org/git/gperf.git synced 2025-12-02 21:19:24 +00:00

Don't use operator (), it's so hard to grep for.

This commit is contained in:
Bruno Haible
2002-10-29 13:34:53 +00:00
parent ffc1beb00f
commit c7f32d582f
4 changed files with 9 additions and 3 deletions

View File

@@ -272,7 +272,7 @@ Gen_Perf::change (List_Node *prior, List_Node *curr)
exponential in the number of keys. */
int
Gen_Perf::operator() (void)
Gen_Perf::doit_all (void)
{
#if LARGE_STACK_ARRAYS
unsigned int buffer[max_hash_value + 1];

View File

@@ -44,7 +44,7 @@ private:
public:
Gen_Perf (void);
~Gen_Perf (void);
int operator () (void);
int doit_all (void);
};
#endif

View File

@@ -62,7 +62,7 @@ main (int argc, char *argv[])
Gen_Perf generate_table;
/* Generates and prints the Gen_Perf hash table. */
int status = generate_table ();
int status = generate_table.doit_all ();
/* Check for write error on stdout. */
if (fflush (stdout) || ferror (stdout))