Home | History | Annotate | Download | only in sched_h
      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 sched_param structure is declared and includes at a minimum:
     12  *    int sched_priority
     13  */
     14 #include <sched.h>
     15 
     16 struct sched_param this_type_should_exist, s;
     17 
     18 int dummyfcn(void)
     19 {
     20 	s.sched_priority = 0;
     21 
     22 	return 0;
     23 }
     24