----- THE SWAP FUNCTION -----
Functions must be declared before they are called. Since you call your function with "swap(&a,&b)" you need to either declare the swap function, or move it up before the main function. In my implementation, I moved it.
The swap function must be named (you never gave it a name, it won't know what it is supposed to be calling), and there isn't anything obvious for it to return, so I changed it's type to void.
You have a semicolon after the swap function's signature, this ends the method (good for a declaration, but if you are defining your function, this says "I'm done" and it won't know to keep looking for the rest of your function), so remove this semicolon.
With pointers, the asterisks go before the variable (otherwise it looks like "x times comma", which makes no sense).
In your swap function declaration, you need a space between int and y, it does not know what "inty" is.
Your swap function logic is wrong, if you overwrite the value of x before storing it somewhere, how will you be able to assign it to y? You need to save it in t before overwriting it.
----- THE MAIN FUNCTION -----
int(int x*, inty*); doesn't make any sense, remember you have to name your functions. You cannot just duplicate some function's signature in your main program and expect it to work. (plus, you haven't assigned values at this point, so why would you even be swapping them anyway?) remove this line completely.
I also added spacing and a comma in your printf statements so you can tell where a ends and b begins. And you need a newline in your first print statement, so that these two statements are on their own lines, otherwise they run together.
getch(); is unneccessary. I assume it is just a method for pausing the program, so you can evaluate it, a trick I also use for my crappy IDE I use in Windows.
Declaring main as void will cause some compilers to complain. I prefer to declare it as an int. To go with this, you would need to return an integer value at the end, zero is standard for a program that executed with no errors.
----- OTHER THOUGHTS -----
You don't need conio.h, it's more for convenient input/output. But you should avoid using it in general, because if you write a program which relies on it's functions, your program won't work on non-Windows platforms.
I strongly advise that in the future, you only complete one small portion of your program, then test that it works how you expect before adding in anything else. This program was clearly written all at once, and you aren't capable enough to do something like this, you probably couldn't debug it because there were so many bugs that you can't even figure out where to start. Bugs within and on top of other bugs. Plus, your use of getch(); implies you are using a crappy IDE/compiler that will spit out a thousand errors for each of these when you go to compile, and you won't be able to glean any useful information off of it. If you test as you go, then you can always know what line specifically is wrong, and it is much easier to troubleshoot. Also, if you can use a Linux machine while you are learning, gcc tends to be much more informative and easy to read. If you are using MS Visual C++ , you should look for something better, I use Dev-C++ which you can get at http://www.bloodshed.net/ It isn't as good as a simple text editor and Linux, but it is much better than the Microsoft products. At least in my anecdotal experience.