mirror of https://github.com/python/cpython
Shut up lint.
This commit is contained in:
parent
50e61dc259
commit
2807d191f0
|
@ -28,6 +28,7 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
it would have to take circular links and sharing into account. */
|
it would have to take circular links and sharing into account. */
|
||||||
|
|
||||||
#include "allobjects.h"
|
#include "allobjects.h"
|
||||||
|
#include "modsupport.h"
|
||||||
#include "longintrepr.h"
|
#include "longintrepr.h"
|
||||||
#include "compile.h"
|
#include "compile.h"
|
||||||
#include "marshal.h"
|
#include "marshal.h"
|
||||||
|
@ -131,7 +132,6 @@ wr_object(v, fp)
|
||||||
n = getdictsize(v);
|
n = getdictsize(v);
|
||||||
for (i = 0; i < n; i++) {
|
for (i = 0; i < n; i++) {
|
||||||
object *key, *val;
|
object *key, *val;
|
||||||
extern object *getdict2key();
|
|
||||||
key = getdict2key(v, (int)i);
|
key = getdict2key(v, (int)i);
|
||||||
if (key != NULL) {
|
if (key != NULL) {
|
||||||
val = dict2lookup(v, key); /* Can't be NULL */
|
val = dict2lookup(v, key); /* Can't be NULL */
|
||||||
|
@ -221,7 +221,7 @@ rd_object(fp)
|
||||||
|
|
||||||
case TYPE_FLOAT:
|
case TYPE_FLOAT:
|
||||||
{
|
{
|
||||||
extern double strtod();
|
extern double strtod PROTO((const char *, char **));
|
||||||
char buf[256];
|
char buf[256];
|
||||||
double res;
|
double res;
|
||||||
char *end;
|
char *end;
|
||||||
|
|
Loading…
Reference in New Issue