dummy-repertoire.c 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  1. /* Copyright (C) 2001-2026 Free Software Foundation, Inc.
  2. This file is part of the GNU C Library.
  3. This program is free software; you can redistribute it and/or modify
  4. it under the terms of the GNU General Public License as published
  5. by the Free Software Foundation; version 2 of the License, or
  6. (at your option) any later version.
  7. This program is distributed in the hope that it will be useful,
  8. but WITHOUT ANY WARRANTY; without even the implied warranty of
  9. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  10. GNU General Public License for more details.
  11. You should have received a copy of the GNU General Public License
  12. along with this program; if not, see <https://www.gnu.org/licenses/>. */
  13. #include <stdint.h>
  14. /* For iconv we don't have to handle repertoire maps. Provide dummy
  15. definitions to allow the use of linereader.c unchanged. */
  16. #include <repertoire.h>
  17. uint32_t
  18. repertoire_find_value (const struct repertoire_t *repertoire, const char *name,
  19. size_t len)
  20. {
  21. return ILLEGAL_CHAR_VALUE;
  22. }
  23. const char *
  24. repertoire_find_symbol (const struct repertoire_t *repertoire, uint32_t ucs)
  25. {
  26. return NULL;
  27. }