1 /* 2 * This program is free software; you can redistribute it and/or modify 3 * it under the terms of the GNU General Public License version 2. 4 * 5 * This program is distributed in the hope that it will be useful, 6 * but WITHOUT ANY WARRANTY; without even the implied warranty of 7 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 8 * GNU General Public License for more details. 9 * 10 * 11 * Test that the function: 12 * int sched_get_priority_max(int); 13 * is declared. 14 */ 15 16 #include <sched.h> 17 18 typedef int (*sched_get_priority_max_test) (int); 19 20 int dummyfcn(void) 21 { 22 sched_get_priority_max_test dummyvar; 23 dummyvar = sched_get_priority_max; 24 return 0; 25 } 26