1. Pypy
  2. Untitled project
  3. pypy

Commits

Armin Rigo  committed dcbdd82

These must be declared "static". We don't want the names "buffer" and
"buflen" globally visible throughout our C source.

  • Participants
  • Parent commits f8375bd
  • Branches default

Comments (0)

Files changed (1)

File pypy/translator/c/src/ll_strtod.h

View file
  • Ignore whitespace
 	return x;
 }
 
-char buffer[120]; /* this should be enough, from PyString_Format code */
-int buflen = 120;
+static char buffer[120]; /* this should be enough, from PyString_Format code */
+static const int buflen = 120;
 
 #ifdef _MSC_VER
 #define snprintf _snprintf