1. 30 Apr, 2022 1 commit
  2. 10 Apr, 2022 4 commits
  3. 03 Apr, 2022 1 commit
  4. 04 Dec, 2021 2 commits
  5. 01 Nov, 2020 2 commits
  6. 31 Oct, 2020 1 commit
  7. 22 Jul, 2020 1 commit
  8. 02 Mar, 2019 1 commit
  9. 25 Feb, 2019 1 commit
  10. 18 Feb, 2019 2 commits
  11. 01 Jan, 2019 2 commits
  12. 22 Nov, 2018 1 commit
  13. 17 Nov, 2018 1 commit
  14. 16 Aug, 2018 1 commit
  15. 06 May, 2018 1 commit
  16. 03 Oct, 2017 1 commit
  17. 08 Feb, 2017 1 commit
  18. 26 Jan, 2017 3 commits
  19. 29 Jan, 2016 1 commit
  20. 07 Jan, 2016 1 commit
  21. 21 Dec, 2015 3 commits
  22. 19 Oct, 2015 5 commits
    • Jeremy Huddleston Sequoia's avatar
      Fixup various format warnings in PrintProtoDisplay · c0c3ad0c
      Jeremy Huddleston Sequoia authored
      
      
      protodpy.c:52:35: warning: format specifies type 'unsigned int' but the argument has type 'struct protoDisplay *' [-Wformat]
          Debug ("ProtoDisplay 0x%x\n", pdpy);
                                 ~~     ^~~~
      protodpy.c:54:20: warning: incompatible pointer types passing 'XdmcpNetaddr' (aka 'char *') to parameter of type 'struct sockaddr *'
            [-Wincompatible-pointer-types]
          PrintSockAddr (pdpy->address, pdpy->addrlen);
                         ^~~~~~~~~~~~~
      ../include/dm_socket.h:46:45: note: passing argument to parameter 'a' here
      extern void PrintSockAddr (struct sockaddr *a, int len);
                                                  ^
      protodpy.c:55:41: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
          Debug ("\tdate %d (%d from now)\n", pdpy->date, time(0) - pdpy->date);
                         ~~                   ^~~~~~~~~~
                         %lu
      protodpy.c:55:53: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
          Debug ("\tdate %d (%d from now)\n", pdpy->date, time(0) - pdpy->date);
                             ~~                           ^~~~~~~~~~~~~~~~~~~~
                             %lu
      protodpy.c:57:32: warning: format specifies type 'int' but the argument has type 'CARD32' (aka 'unsigned long') [-Wformat]
          Debug ("\tsessionID %d\n", pdpy->sessionID);
                              ~~     ^~~~~~~~~~~~~~~
                              %lu
      Signed-off-by: Jeremy Huddleston Sequoia's avatarJeremy Huddleston Sequoia <jeremyhu@apple.com>
      c0c3ad0c
    • Jeremy Huddleston Sequoia's avatar
      Silence -Wmissing-noreturn warnings · d5aa455a
      Jeremy Huddleston Sequoia authored
      
      
      choose.c:463:1: warning: function 'RunChooser' could be declared with attribute 'noreturn' [-Wmissing-noreturn]
      chooser.c:1062:1: warning: function 'DoCancel' could be declared with attribute 'noreturn' [-Wmissing-noreturn]
      reset.c:81:1: warning: function 'abortReset' could be declared with attribute 'noreturn' [-Wmissing-noreturn]
      server.c:154:1: warning: function 'serverPauseAbort' could be declared with attribute 'noreturn' [-Wmissing-noreturn]
      server.c:161:1: warning: function 'serverPauseUsr1' could be declared with attribute 'noreturn' [-Wmissing-noreturn]
      server.c:236:1: warning: function 'abortOpen' could be declared with attribute 'noreturn' [-Wmissing-noreturn]
      server.c:329:1: warning: function 'PingLost' could be declared with attribute 'noreturn' [-Wmissing-noreturn]
      server.c:348:1: warning: function 'PingLostSig' could be declared with attribute 'noreturn' [-Wmissing-noreturn]
      session.c:231:1: warning: function 'catchTerm' could be declared with attribute 'noreturn' [-Wmissing-noreturn]
      session.c:293:1: warning: function 'SessionPingFailed' could be declared with attribute 'noreturn' [-Wmissing-noreturn]
      session.c:240:1: warning: function 'catchAlrm' could be declared with attribute 'noreturn' [-Wmissing-noreturn]
      session.c:249:1: warning: function 'waitAbort' could be declared with attribute 'noreturn' [-Wmissing-noreturn]
      session.c:330:1: warning: function 'ManageSession' could be declared with attribute 'noreturn' [-Wmissing-noreturn]
      session.c:471:1: warning: function 'syncTimeout' could be declared with attribute 'noreturn' [-Wmissing-noreturn]
      session.c:519:1: warning: function 'SessionExit' could be declared with attribute 'noreturn' [-Wmissing-noreturn]
      Signed-off-by: Jeremy Huddleston Sequoia's avatarJeremy Huddleston Sequoia <jeremyhu@apple.com>
      d5aa455a
    • Jeremy Huddleston Sequoia's avatar
      Add missing prototype for PrintSockAddr · 6cc5153d
      Jeremy Huddleston Sequoia authored
      
      
      protodpy.c:53:5: error: implicit declaration of function 'PrintSockAddr' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
          PrintSockAddr (pdpy->address, pdpy->addrlen);
          ^
      Signed-off-by: Jeremy Huddleston Sequoia's avatarJeremy Huddleston Sequoia <jeremyhu@apple.com>
      6cc5153d
    • Jeremy Huddleston Sequoia's avatar
      Add missing return type (void) for PrintProtoDisplay · 68de9118
      Jeremy Huddleston Sequoia authored
      
      
      protodpy.c:49:1: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int]
      PrintProtoDisplay (struct protoDisplay *pdpy)
      ^
      Signed-off-by: Jeremy Huddleston Sequoia's avatarJeremy Huddleston Sequoia <jeremyhu@apple.com>
      68de9118
    • Jeremy Huddleston Sequoia's avatar
      xdm: Add missing include of <arpa/inet.h> for inet_ntop · 0d8bb02d
      Jeremy Huddleston Sequoia authored
      
      
      netaddr.c:226:2: error: implicit declaration of function 'inet_ntop' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
              inet_ntop(a->sa_family, &((struct sockaddr_in6 *) a)->sin6_addr,
              ^
      Signed-off-by: Jeremy Huddleston Sequoia's avatarJeremy Huddleston Sequoia <jeremyhu@apple.com>
      0d8bb02d
  23. 28 Sep, 2015 1 commit
  24. 26 Jul, 2015 1 commit
  25. 15 Mar, 2015 1 commit