Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2807d19

Browse files
committed
Shut up lint.
1 parent 50e61dc commit 2807d19

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Python/marshal.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
2828
it would have to take circular links and sharing into account. */
2929

3030
#include "allobjects.h"
31+
#include "modsupport.h"
3132
#include "longintrepr.h"
3233
#include "compile.h"
3334
#include "marshal.h"
@@ -131,7 +132,6 @@ wr_object(v, fp)
131132
n = getdictsize(v);
132133
for (i = 0; i < n; i++) {
133134
object *key, *val;
134-
extern object *getdict2key();
135135
key = getdict2key(v, (int)i);
136136
if (key != NULL) {
137137
val = dict2lookup(v, key); /* Can't be NULL */
@@ -221,7 +221,7 @@ rd_object(fp)
221221

222222
case TYPE_FLOAT:
223223
{
224-
extern double strtod();
224+
extern double strtod PROTO((const char *, char **));
225225
char buf[256];
226226
double res;
227227
char *end;

0 commit comments

Comments
 (0)