1 /* 2 * platform.h - platform handlers for event loops 3 * Copyright (c) 2013 The Chromium OS Authors. All rights reserved. 4 * Use of this source code is governed by a BSD-style license that can be 5 * found in the LICENSE file. 6 */ 7 #ifndef PLATFORM_H_ 8 #define PLATFORM_H_ 9 #include "config.h" 10 11 struct state; 12 13 #ifdef HAVE_CROS 14 int platform_init_cros (struct state *state); 15 #else 16 static inline int platform_init_cros (struct state *state) 17 { 18 return 0; 19 } 20 #endif /* HAVE_CROS */ 21 #endif /* PLATFORM_H_ */ 22