{"action":"created","issue":{"url":"https://api.github.com/repos/apple/swift-corelibs-foundation/issues/1159","repository_url":"https://api.github.com/repos/apple/swift-corelibs-foundation","labels_url":"https://api.github.com/repos/apple/swift-corelibs-foundation/issues/1159/labels{/name}","comments_url":"https://api.github.com/repos/apple/swift-corelibs-foundation/issues/1159/comments","events_url":"https://api.github.com/repos/apple/swift-corelibs-foundation/issues/1159/events","html_url":"https://github.com/apple/swift-corelibs-foundation/pull/1159","id":248046189,"number":1159,"title":"Fix more C warnings","user":{"login":"spevans","id":1093011,"avatar_url":"https://avatars2.githubusercontent.com/u/1093011?v=4","gravatar_id":"","url":"https://api.github.com/users/spevans","html_url":"https://github.com/spevans","followers_url":"https://api.github.com/users/spevans/followers","following_url":"https://api.github.com/users/spevans/following{/other_user}","gists_url":"https://api.github.com/users/spevans/gists{/gist_id}","starred_url":"https://api.github.com/users/spevans/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spevans/subscriptions","organizations_url":"https://api.github.com/users/spevans/orgs","repos_url":"https://api.github.com/users/spevans/repos","events_url":"https://api.github.com/users/spevans/events{/privacy}","received_events_url":"https://api.github.com/users/spevans/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-08-04T15:52:05Z","updated_at":"2017-08-10T09:27:57Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apple/swift-corelibs-foundation/pulls/1159","html_url":"https://github.com/apple/swift-corelibs-foundation/pull/1159","diff_url":"https://github.com/apple/swift-corelibs-foundation/pull/1159.diff","patch_url":"https://github.com/apple/swift-corelibs-foundation/pull/1159.patch"},"body":"- Merge function prototypes with the declaration that follows\r\n  on the next line to simplify declaration when the arguments\r\n  differ due to preprocessor arguments.\r\n\r\n- Fix use of comma in while statement.\r\n\r\nThis is the second PR of C fixes along with https://github.com/apple/swift-corelibs-foundation/pull/1157 after which the Xcode project can be updated to recommended settings to include the latest Clang warnings.\r\n\r\nThe `while` statement definitely needs checking, I went with `&&` instead of `||` but a 2nd opinion would be good."},"comment":{"url":"https://api.github.com/repos/apple/swift-corelibs-foundation/issues/comments/321500434","html_url":"https://github.com/apple/swift-corelibs-foundation/pull/1159#issuecomment-321500434","issue_url":"https://api.github.com/repos/apple/swift-corelibs-foundation/issues/1159","id":321500434,"user":{"login":"ianpartridge","id":1423497,"avatar_url":"https://avatars3.githubusercontent.com/u/1423497?v=4","gravatar_id":"","url":"https://api.github.com/users/ianpartridge","html_url":"https://github.com/ianpartridge","followers_url":"https://api.github.com/users/ianpartridge/followers","following_url":"https://api.github.com/users/ianpartridge/following{/other_user}","gists_url":"https://api.github.com/users/ianpartridge/gists{/gist_id}","starred_url":"https://api.github.com/users/ianpartridge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ianpartridge/subscriptions","organizations_url":"https://api.github.com/users/ianpartridge/orgs","repos_url":"https://api.github.com/users/ianpartridge/repos","events_url":"https://api.github.com/users/ianpartridge/events{/privacy}","received_events_url":"https://api.github.com/users/ianpartridge/received_events","type":"User","site_admin":false},"created_at":"2017-08-10T09:27:57Z","updated_at":"2017-08-10T09:27:57Z","body":"@swift-ci please test"}}
{"actor":{"display_login":"ianpartridge"}}