prog.c: In function 'fast_sort':
prog.c:11:11: warning: implicit declaration of function 'swap' [-Wimplicit-function-declaration]
swap (&a[i], &a[j]);
^
/usr/lib/gcc/i586-linux-gnu/5/../../../i386-linux-gnu/crt1.o: In function `_start':
(.text+0x18): undefined reference to `main'
/home/HemrJI/cctMMI6G.o: In function `fast_sort':
prog.c:(.text+0xb6): undefined reference to `swap'
collect2: error: ld returned 1 exit status