ctype-mismatchredeclaration

Type mismatch in Redeclaration


I have been able to remove almost all errors except these 5 errors in this C program (too long to paste so providing link).

http://codepad.org/AfqrDojN

The errors I receive are as follows:

screenshot

I am using the following libraries:

#include <graphics.h>
#include <stdlib.h>
#include <stdio.h>
#include <dos.h>
#include <conio.h>

What could be the issue?


Solution

  • you are redefining the function remove that is already declared in

    #include <stdio.h>
    

    changing the name of your function to (for example) void myremove() will probably solve your problem.