1 /* 2 * Copyright (c) 2002, Intel Corporation. All rights reserved. 3 * Created by: julie.n.fleischer REMOVE-THIS AT intel DOT com 4 * This file is licensed under the GPL license. For the full content 5 * of this license, see the COPYING file at the top level of this 6 * source tree. 7 8 @pt:TMR 9 Test that the function: 10 int clock_settime(clockid_t, const struct timespec *); 11 is declared. 12 */ 13 14 #include <time.h> 15 16 typedef int (*clock_settime_test) (clockid_t, const struct timespec *); 17 18 int dummyfcn(void) 19 { 20 clock_settime_test dummyvar; 21 dummyvar = clock_settime; 22 return 0; 23 } 24