blob: ba4af03c5855d9360975780b05c7a6ff87d6f7d2 [file] [log] [blame]
/*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
*
* Test that the function:
* int sched_yield(void);
* is declared.
*/
#include <sched.h>
typedef int (*sched_yield_test) (void);
int dummyfcn(void)
{
sched_yield_test dummyvar;
dummyvar = sched_yield;
return 0;
}