Fix some more C compiler warnings for missing function return types
and implicit function declarations in the GDB testsuite.
gdb/testsuite/ChangeLog:
	* gdb.base/bp-permanent.c: Include unistd.h.
	* gdb.python/py-framefilter-mi.c (main): Add return type.
	* gdb.python/py-framefilter.c (main): Likewise.
	* gdb.trace/actions-changed.c (main): Likewise.
+2014-11-17  Andreas Arnez  <arnez@linux.vnet.ibm.com>
+
+       * gdb.base/bp-permanent.c: Include unistd.h.
+       * gdb.python/py-framefilter-mi.c (main): Add return type.
+       * gdb.python/py-framefilter.c (main): Likewise.
+       * gdb.trace/actions-changed.c (main): Likewise.
+
 2014-11-17  Andreas Arnez  <arnez@linux.vnet.ibm.com>
 
        * gdb.mi/until.c: Add eye-catchers.
 
 #include <string.h>
 #ifdef SIGNALS
 #include <signal.h>
+#include <unistd.h>
 #endif
 
 #define NOP asm("nop")
 
   return i;
 }
 
+int
 main()
 {
   func5(3,5);
+  return 0;
 }
 
   return i;
 }
 
+int
 main()
 {
   int z = 32;
   int y = 44;
   const char *foo1 = "Test";
   func5(3,5);
+  return 0;
 }
 
   return busy;
 }
 
+int
 main()
 {
   subr (1);
   subr (6);
   subr2 (6);
   end (6);
+
+  return 0;
 }