export.h 324 B

12345678910111213141516
  1. /* SPDX-License-Identifier: GPL-2.0+ */
  2. /*
  3. * Copyright (C) 2020 Sean Anderson <seanga2@gmail.com>
  4. */
  5. #ifndef TEST_EXPORT_H
  6. #define TEST_EXPORT_H
  7. /* Declare something static, unless we are doing unit tests */
  8. #ifdef CONFIG_UNIT_TEST
  9. #define TEST_STATIC
  10. #else
  11. #define TEST_STATIC static
  12. #endif
  13. #endif /* TEST_EXPORT_H */