1. 03 Apr, 2022 1 commit
  2. 03 Dec, 2021 2 commits
  3. 28 Nov, 2021 1 commit
  4. 27 Mar, 2020 1 commit
  5. 02 Jun, 2019 2 commits
    • Alan Coopersmith's avatar
      Clear -Wredundant-decls warnings from gcc 7.3 · a97f306f
      Alan Coopersmith authored
      
      
      comm.c:55:15: warning: redundant redeclaration of ‘CM_entries’ [-Wredundant-decls]
       extern Widget CM_entries[NUM_CM_ENTRIES], TM_entries[NUM_TM_ENTRIES];
                     ^~~~~~~~~~
      In file included from comm.c:46:0:
      editresP.h:339:15: note: previous declaration of ‘CM_entries’ was here
       extern Widget CM_entries[NUM_CM_ENTRIES];
                     ^~~~~~~~~~
      comm.c:55:43: warning: redundant redeclaration of ‘TM_entries’ [-Wredundant-decls]
       extern Widget CM_entries[NUM_CM_ENTRIES], TM_entries[NUM_TM_ENTRIES];
                                                 ^~~~~~~~~~
      In file included from comm.c:46:0:
      editresP.h:343:15: note: previous declaration of ‘TM_entries’ was here
       extern Widget TM_entries[NUM_TM_ENTRIES];
                     ^~~~~~~~~~
      
      handler.c:502:16: warning: redundant redeclaration of ‘do_get_values’ [-Wredundant-decls]
       extern Boolean do_get_values;
                      ^~~~~~~~~~~~~
      In file included from handler.c:40:0:
      editresP.h:334:16: note: previous declaration of ‘do_get_values’ was here
       extern Boolean do_get_values;
                      ^~~~~~~~~~~~~
      Signed-off-by: Alan Coopersmith's avatarAlan Coopersmith <alan.coopersmith@oracle.com>
      a97f306f
    • Alan Coopersmith's avatar
      Clear 208 out of 210 -Wdiscarded-qualifiers warnings from gcc 7.3 · 43c19175
      Alan Coopersmith authored
      
      
      Depends on building with a libXt version that defines String as a
      const char * if _CONST_X_STRING is defined.
      Signed-off-by: Alan Coopersmith's avatarAlan Coopersmith <alan.coopersmith@oracle.com>
      43c19175
  6. 22 Nov, 2018 1 commit
  7. 17 Nov, 2018 1 commit
  8. 05 Mar, 2018 1 commit
  9. 26 Jan, 2017 3 commits
  10. 01 Jan, 2016 1 commit
  11. 09 May, 2015 5 commits
    • Alan Coopersmith's avatar
      Fix -Wmissing-noreturn warnings · a415214b
      Alan Coopersmith authored
      
      
      editres.c:140:1: warning: function 'Syntax' could be declared with
       attribute 'noreturn' [-Wmissing-noreturn]
      handler.c:65:1: warning: function 'Quit' could be declared with
       attribute 'noreturn' [-Wmissing-noreturn]
      Signed-off-by: Alan Coopersmith's avatarAlan Coopersmith <alan.coopersmith@oracle.com>
      a415214b
    • Alan Coopersmith's avatar
      Strip trailing whitespace · a6733f76
      Alan Coopersmith authored
      
      
      'git diff -w' shows no changes for this commit
      Signed-off-by: Alan Coopersmith's avatarAlan Coopersmith <alan.coopersmith@oracle.com>
      a6733f76
    • Alan Coopersmith's avatar
      Fix -Wsign-compare warnings · c33a4461
      Alan Coopersmith authored
      
      
      actions.c:291:21: warning: comparison of integers of different signs: 'int' and 'Cardinal' (aka 'unsigned int') [-Wsign-compare]
          for ( i = 0 ; i < num_table; i++ )
                        ~ ^ ~~~~~~~~~
      actions.c:299:19: warning: comparison of integers of different signs: 'int' and 'Cardinal' (aka 'unsigned int') [-Wsign-compare]
          for (i = 0; i < num_table; ) {
                      ~ ^ ~~~~~~~~~
      actions.c:302:8: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare]
              if (i == (num_table - 1))
                  ~ ^   ~~~~~~~~~~~~~
      actions.c:304:13: warning: comparison of integers of different signs: 'int' and 'Cardinal' (aka 'unsigned int') [-Wsign-compare]
              else if (i < num_table)
                       ~ ^ ~~~~~~~~~
      
      geometry.c:150:19: warning: comparison of integers of different signs: 'int' and 'Cardinal' (aka 'unsigned int') [-Wsign-compare]
          for (i = 0; i < tree_info->num_nodes; i++)
                      ~ ^ ~~~~~~~~~~~~~~~~~~~~
      geometry.c:380:19: warning: comparison of integers of different signs: 'int' and 'Cardinal' (aka 'unsigned int') [-Wsign-compare]
          for (i = 0; i < tree_info->num_flash_widgets; i++) {
                      ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      geometry.c:401:19: warning: comparison of integers of different signs: 'int' and 'Cardinal' (aka 'unsigned int') [-Wsign-compare]
          for (i = 0; i < tree_info->num_flash_widgets; i++)
                      ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      geometry.c:423:19: warning: comparison of integers of different signs: 'int' and 'Cardinal' (aka 'unsigned int') [-Wsign-compare]
          for (i = 0; i < tree_info->num_flash_widgets; i++)
                      ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      geometry.c:428:19: warning: comparison of integers of different signs: 'int' and 'Cardinal' (aka 'unsigned int') [-Wsign-compare]
          for (i = 0; i < tree_info->num_flash_widgets; i++)
                      ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      
      handler.c:475:13: warning: comparison of integers of different signs: 'int' and 'Cardinal' (aka 'unsigned int') [-Wsign-compare]
          if (len > malloc_size) {
              ~~~ ^ ~~~~~~~~~~~
      handler.c:476:58: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
              malloc_string = XtRealloc(malloc_string, sizeof(char) * len);
                                                                    ~ ^~~
      handler.c:477:16: warning: implicit conversion changes signedness: 'int' to 'Cardinal' (aka 'unsigned int') [-Wsign-conversion]
              malloc_size = len;
                          ~ ^~~
      
      utils.c:167:37: warning: comparison of integers of different signs: 'int' and 'Cardinal' (aka 'unsigned int') [-Wsign-compare]
          for (node = top_node, i = 1 ; i < number; i++) {
                                        ~ ^ ~~~~~~
      utils.c:170:16: warning: comparison of integers of different signs: 'int' and 'Cardinal' (aka 'unsigned int') [-Wsign-compare]
              for (j = 0; j < node->num_children; j++) {
                          ~ ^ ~~~~~~~~~~~~~~~~~~
      utils.c:215:19: warning: comparison of integers of different signs: 'int' and 'Cardinal' (aka 'unsigned int') [-Wsign-compare]
          for (i = 0; i < node->num_children; i++) {
                      ~ ^ ~~~~~~~~~~~~~~~~~~
      utils.c:787:19: warning: comparison of integers of different signs: 'int' and 'Cardinal' (aka 'unsigned int') [-Wsign-compare]
          for (i = 0; i < top_node->num_children; i++)
                      ~ ^ ~~~~~~~~~~~~~~~~~~~~~~
      
      wtree.c:129:19: warning: comparison of integers of different signs: 'int' and 'Cardinal' (aka 'unsigned int') [-Wsign-compare]
          for (i = 0; i < top->num_children; i++)
                      ~ ^ ~~~~~~~~~~~~~~~~~
      wtree.c:194:19: warning: comparison of integers of different signs: 'int' and 'Cardinal' (aka 'unsigned int') [-Wsign-compare]
          for (i = 0; i < info->num_nodes; i++) {
                      ~ ^ ~~~~~~~~~~~~~~~
      wtree.c:216:19: warning: comparison of integers of different signs: 'int' and 'Cardinal' (aka 'unsigned int') [-Wsign-compare]
          for (i = 0; i < info->num_nodes; i++)
                      ~ ^ ~~~~~~~~~~~~~~~
      wtree.c:270:19: warning: comparison of integers of different signs: 'int' and 'Cardinal' (aka 'unsigned int') [-Wsign-compare]
          for (i = 0; i < top->num_children; i++)
                      ~ ^ ~~~~~~~~~~~~~~~~~
      wtree.c:339:19: warning: comparison of integers of different signs: 'int' and 'Cardinal' (aka 'unsigned int') [-Wsign-compare]
          for (i = 0; i < num_active_nodes; i++)
                      ~ ^ ~~~~~~~~~~~~~~~~
      wtree.c:386:19: warning: comparison of integers of different signs: 'int' and 'Cardinal' (aka 'unsigned int') [-Wsign-compare]
          for (i = 0; i < node->num_children; i++)
                      ~ ^ ~~~~~~~~~~~~~~~~~~
      wtree.c:446:19: warning: comparison of integers of different signs: 'int' and 'Cardinal' (aka 'unsigned int') [-Wsign-compare]
          for (i = 0; i < node->num_children; i++)
                      ~ ^ ~~~~~~~~~~~~~~~~~~
      wtree.c:478:16: warning: comparison of integers of different signs: 'int' and 'Cardinal' (aka 'unsigned int') [-Wsign-compare]
              for (i = 0; i < node->num_children; i++) {
                          ~ ^ ~~~~~~~~~~~~~~~~~~
      wtree.c:607:19: warning: comparison of integers of different signs: 'int' and 'Cardinal' (aka 'unsigned int') [-Wsign-compare]
          for (i = 0; i < tree_info->num_nodes; i++)
                      ~ ^ ~~~~~~~~~~~~~~~~~~~~
      wtree.c:686:19: warning: comparison of integers of different signs: 'int' and 'Cardinal' (aka 'unsigned int') [-Wsign-compare]
          for (i = 0; i < node->num_children; i++)
                      ~ ^ ~~~~~~~~~~~~~~~~~~
      Signed-off-by: Alan Coopersmith's avatarAlan Coopersmith <alan.coopersmith@oracle.com>
      c33a4461
    • Alan Coopersmith's avatar
    • Alan Coopersmith's avatar
      Replace XtMalloc+sprintf pair with XtAsprintf call · 9ffefd5b
      Alan Coopersmith authored
      
      
      Raises required version of libXt to >= 1.0.99.1
      Signed-off-by: Alan Coopersmith's avatarAlan Coopersmith <alan.coopersmith@oracle.com>
      9ffefd5b
  12. 02 Jun, 2014 2 commits
  13. 06 Jun, 2013 1 commit
  14. 19 Jan, 2013 1 commit
  15. 13 Jan, 2013 1 commit
  16. 29 Dec, 2011 1 commit
  17. 19 Jan, 2011 1 commit
  18. 13 Jan, 2011 2 commits
  19. 12 Jan, 2011 2 commits
  20. 30 Oct, 2010 4 commits
  21. 08 Aug, 2010 1 commit
  22. 20 Dec, 2009 1 commit
  23. 26 Nov, 2009 1 commit
  24. 28 Oct, 2009 1 commit
  25. 27 Oct, 2009 2 commits