Skip to content
Snippets Groups Projects
  1. Aug 01, 2024
  2. Feb 17, 2024
  3. Mar 04, 2023
  4. Feb 25, 2023
  5. Feb 17, 2023
  6. Aug 26, 2022
  7. May 08, 2022
  8. Mar 10, 2019
  9. Dec 08, 2018
  10. Nov 19, 2018
  11. Sep 24, 2018
  12. Sep 23, 2018
  13. Jan 26, 2017
  14. May 01, 2015
  15. Nov 06, 2014
  16. Jul 12, 2014
  17. Jun 05, 2014
  18. May 24, 2014
    • Alan Coopersmith's avatar
      Constify pattern argument to FSListCatalogues · 5e0f1b91
      Alan Coopersmith authored
      
      The contents of pattern are simply copied to the request sent to
      the font server and never touched again, so can be labeled read-only.
      
      Fixes compiler warning building xfsinfo:
      
      xfsinfo.c: In function ‘print_catalogue_info’:
      xfsinfo.c:158:5: warning: passing argument 2 of ‘FSListCatalogues’ discards
       ‘const’ qualifier from pointer target type [enabled by default]
           char      **cats = FSListCatalogues(svr, "*", 1000, &n);
           ^
      In file included from xfsinfo.c:66:0:
      FSlib.h:255:16: note: expected ‘char *’ but argument is of type ‘const char *’
       extern char ** FSListCatalogues ( FSServer *svr, char *pattern,
      
      Signed-off-by: default avatarAlan Coopersmith <alan.coopersmith@oracle.com>
      5e0f1b91
  19. Mar 16, 2014
Loading