Commits

Armin Rigo committed 7b2b8db

C89 compliance.

  • Participants
  • Parent commits ecb7886
  • Branches 2.4

Comments (0)

Files changed (1)

Modules/mmapmodule.c

 		return NULL;
 #else
 	} else {
+		void *newmap;
+
 		if (ftruncate(self->fd, new_size) == -1) {
 			PyErr_SetFromErrno(mmap_module_error);
 			return NULL;
 		}
-		
-		void *newmap;
 
 #ifdef MREMAP_MAYMOVE
 		newmap = mremap(self->data, self->size, new_size, MREMAP_MAYMOVE);