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:TSF 9 Test that the function: 10 struct tm *localtime_r(const time_t *, struct tm *); 11 is declared. 12 */ 13 14 #include <time.h> 15 16 typedef struct tm *(*localtime_r_test) (const time_t *, struct tm *); 17 18 int dummyfcn(void) 19 { 20 localtime_r_test dummyvar; 21 dummyvar = localtime_r; 22 return 0; 23 } 24