{"action":"reopened","number":7,"pull_request":{"url":"https://api.github.com/repos/siu/minunit/pulls/7","id":25674631,"html_url":"https://github.com/siu/minunit/pull/7","diff_url":"https://github.com/siu/minunit/pull/7.diff","patch_url":"https://github.com/siu/minunit/pull/7.patch","issue_url":"https://api.github.com/repos/siu/minunit/issues/7","number":7,"state":"open","locked":false,"title":"Convert minunit.h to be ANSI C89 compliant (range comments and variable ...","user":{"login":"cr1901","id":6418027,"avatar_url":"https://avatars.githubusercontent.com/u/6418027?v=3","gravatar_id":"","url":"https://api.github.com/users/cr1901","html_url":"https://github.com/cr1901","followers_url":"https://api.github.com/users/cr1901/followers","following_url":"https://api.github.com/users/cr1901/following{/other_user}","gists_url":"https://api.github.com/users/cr1901/gists{/gist_id}","starred_url":"https://api.github.com/users/cr1901/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cr1901/subscriptions","organizations_url":"https://api.github.com/users/cr1901/orgs","repos_url":"https://api.github.com/users/cr1901/repos","events_url":"https://api.github.com/users/cr1901/events{/privacy}","received_events_url":"https://api.github.com/users/cr1901/received_events","type":"User","site_admin":false},"body":"...declarations at beginning of scope.\r\n\r\nI have a need to use minunit.h in a source tree that may be compiled using compilers that do not recognize extensions to C89 (yes they exist :P), so I made minunit.h compile successfully when gcc's -pedantic-errors is enabled.\r\n\r\nHowever, the C compiler must still provide the C99 snprintf, which is fine for now. There exist ANSI C89 snprintf implementations [which I could use in the worst case](http://www.ijs.si/software/snprintf/).\r\n\r\nIdeally, I'd like to make the dependencies on the stdlib and timer optional, where users must provide a logging function (replace printf) and timer (also optional if it weren't for the [#error directive in minunit.h](https://github.com/siu/minunit/blob/master/minunit.h#L53)) if one does not exist.","created_at":"2014-12-08T15:47:53Z","updated_at":"2015-01-13T08:33:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"66a426895cea7c05d4c25300b0f1d4803b4e4af0","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/siu/minunit/pulls/7/commits","review_comments_url":"https://api.github.com/repos/siu/minunit/pulls/7/comments","review_comment_url":"https://api.github.com/repos/siu/minunit/pulls/comments/{number}","comments_url":"https://api.github.com/repos/siu/minunit/issues/7/comments","statuses_url":"https://api.github.com/repos/siu/minunit/statuses/203a835acf50d57b3861187a1c3e59066c0479b5","head":{"label":"cr1901:master","ref":"master","sha":"203a835acf50d57b3861187a1c3e59066c0479b5","user":{"login":"cr1901","id":6418027,"avatar_url":"https://avatars.githubusercontent.com/u/6418027?v=3","gravatar_id":"","url":"https://api.github.com/users/cr1901","html_url":"https://github.com/cr1901","followers_url":"https://api.github.com/users/cr1901/followers","following_url":"https://api.github.com/users/cr1901/following{/other_user}","gists_url":"https://api.github.com/users/cr1901/gists{/gist_id}","starred_url":"https://api.github.com/users/cr1901/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cr1901/subscriptions","organizations_url":"https://api.github.com/users/cr1901/orgs","repos_url":"https://api.github.com/users/cr1901/repos","events_url":"https://api.github.com/users/cr1901/events{/privacy}","received_events_url":"https://api.github.com/users/cr1901/received_events","type":"User","site_admin":false},"repo":{"id":27309782,"name":"minunit","full_name":"cr1901/minunit","owner":{"login":"cr1901","id":6418027,"avatar_url":"https://avatars.githubusercontent.com/u/6418027?v=3","gravatar_id":"","url":"https://api.github.com/users/cr1901","html_url":"https://github.com/cr1901","followers_url":"https://api.github.com/users/cr1901/followers","following_url":"https://api.github.com/users/cr1901/following{/other_user}","gists_url":"https://api.github.com/users/cr1901/gists{/gist_id}","starred_url":"https://api.github.com/users/cr1901/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cr1901/subscriptions","organizations_url":"https://api.github.com/users/cr1901/orgs","repos_url":"https://api.github.com/users/cr1901/repos","events_url":"https://api.github.com/users/cr1901/events{/privacy}","received_events_url":"https://api.github.com/users/cr1901/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cr1901/minunit","description":"Minimal unit testing framework for C","fork":true,"url":"https://api.github.com/repos/cr1901/minunit","forks_url":"https://api.github.com/repos/cr1901/minunit/forks","keys_url":"https://api.github.com/repos/cr1901/minunit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cr1901/minunit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cr1901/minunit/teams","hooks_url":"https://api.github.com/repos/cr1901/minunit/hooks","issue_events_url":"https://api.github.com/repos/cr1901/minunit/issues/events{/number}","events_url":"https://api.github.com/repos/cr1901/minunit/events","assignees_url":"https://api.github.com/repos/cr1901/minunit/assignees{/user}","branches_url":"https://api.github.com/repos/cr1901/minunit/branches{/branch}","tags_url":"https://api.github.com/repos/cr1901/minunit/tags","blobs_url":"https://api.github.com/repos/cr1901/minunit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cr1901/minunit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cr1901/minunit/git/refs{/sha}","trees_url":"https://api.github.com/repos/cr1901/minunit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cr1901/minunit/statuses/{sha}","languages_url":"https://api.github.com/repos/cr1901/minunit/languages","stargazers_url":"https://api.github.com/repos/cr1901/minunit/stargazers","contributors_url":"https://api.github.com/repos/cr1901/minunit/contributors","subscribers_url":"https://api.github.com/repos/cr1901/minunit/subscribers","subscription_url":"https://api.github.com/repos/cr1901/minunit/subscription","commits_url":"https://api.github.com/repos/cr1901/minunit/commits{/sha}","git_commits_url":"https://api.github.com/repos/cr1901/minunit/git/commits{/sha}","comments_url":"https://api.github.com/repos/cr1901/minunit/comments{/number}","issue_comment_url":"https://api.github.com/repos/cr1901/minunit/issues/comments/{number}","contents_url":"https://api.github.com/repos/cr1901/minunit/contents/{+path}","compare_url":"https://api.github.com/repos/cr1901/minunit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cr1901/minunit/merges","archive_url":"https://api.github.com/repos/cr1901/minunit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cr1901/minunit/downloads","issues_url":"https://api.github.com/repos/cr1901/minunit/issues{/number}","pulls_url":"https://api.github.com/repos/cr1901/minunit/pulls{/number}","milestones_url":"https://api.github.com/repos/cr1901/minunit/milestones{/number}","notifications_url":"https://api.github.com/repos/cr1901/minunit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cr1901/minunit/labels{/name}","releases_url":"https://api.github.com/repos/cr1901/minunit/releases{/id}","created_at":"2014-11-29T17:35:23Z","updated_at":"2014-12-08T15:37:34Z","pushed_at":"2014-12-08T15:37:34Z","git_url":"git://github.com/cr1901/minunit.git","ssh_url":"git@github.com:cr1901/minunit.git","clone_url":"https://github.com/cr1901/minunit.git","svn_url":"https://github.com/cr1901/minunit","homepage":null,"size":133,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"siu:master","ref":"master","sha":"500650bf3af2bfef21fca1eb00aaf1459b852237","user":{"login":"siu","id":54714,"avatar_url":"https://avatars.githubusercontent.com/u/54714?v=3","gravatar_id":"","url":"https://api.github.com/users/siu","html_url":"https://github.com/siu","followers_url":"https://api.github.com/users/siu/followers","following_url":"https://api.github.com/users/siu/following{/other_user}","gists_url":"https://api.github.com/users/siu/gists{/gist_id}","starred_url":"https://api.github.com/users/siu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/siu/subscriptions","organizations_url":"https://api.github.com/users/siu/orgs","repos_url":"https://api.github.com/users/siu/repos","events_url":"https://api.github.com/users/siu/events{/privacy}","received_events_url":"https://api.github.com/users/siu/received_events","type":"User","site_admin":false},"repo":{"id":4783321,"name":"minunit","full_name":"siu/minunit","owner":{"login":"siu","id":54714,"avatar_url":"https://avatars.githubusercontent.com/u/54714?v=3","gravatar_id":"","url":"https://api.github.com/users/siu","html_url":"https://github.com/siu","followers_url":"https://api.github.com/users/siu/followers","following_url":"https://api.github.com/users/siu/following{/other_user}","gists_url":"https://api.github.com/users/siu/gists{/gist_id}","starred_url":"https://api.github.com/users/siu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/siu/subscriptions","organizations_url":"https://api.github.com/users/siu/orgs","repos_url":"https://api.github.com/users/siu/repos","events_url":"https://api.github.com/users/siu/events{/privacy}","received_events_url":"https://api.github.com/users/siu/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/siu/minunit","description":"Minimal unit testing framework for C","fork":false,"url":"https://api.github.com/repos/siu/minunit","forks_url":"https://api.github.com/repos/siu/minunit/forks","keys_url":"https://api.github.com/repos/siu/minunit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/siu/minunit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/siu/minunit/teams","hooks_url":"https://api.github.com/repos/siu/minunit/hooks","issue_events_url":"https://api.github.com/repos/siu/minunit/issues/events{/number}","events_url":"https://api.github.com/repos/siu/minunit/events","assignees_url":"https://api.github.com/repos/siu/minunit/assignees{/user}","branches_url":"https://api.github.com/repos/siu/minunit/branches{/branch}","tags_url":"https://api.github.com/repos/siu/minunit/tags","blobs_url":"https://api.github.com/repos/siu/minunit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/siu/minunit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/siu/minunit/git/refs{/sha}","trees_url":"https://api.github.com/repos/siu/minunit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/siu/minunit/statuses/{sha}","languages_url":"https://api.github.com/repos/siu/minunit/languages","stargazers_url":"https://api.github.com/repos/siu/minunit/stargazers","contributors_url":"https://api.github.com/repos/siu/minunit/contributors","subscribers_url":"https://api.github.com/repos/siu/minunit/subscribers","subscription_url":"https://api.github.com/repos/siu/minunit/subscription","commits_url":"https://api.github.com/repos/siu/minunit/commits{/sha}","git_commits_url":"https://api.github.com/repos/siu/minunit/git/commits{/sha}","comments_url":"https://api.github.com/repos/siu/minunit/comments{/number}","issue_comment_url":"https://api.github.com/repos/siu/minunit/issues/comments/{number}","contents_url":"https://api.github.com/repos/siu/minunit/contents/{+path}","compare_url":"https://api.github.com/repos/siu/minunit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/siu/minunit/merges","archive_url":"https://api.github.com/repos/siu/minunit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/siu/minunit/downloads","issues_url":"https://api.github.com/repos/siu/minunit/issues{/number}","pulls_url":"https://api.github.com/repos/siu/minunit/pulls{/number}","milestones_url":"https://api.github.com/repos/siu/minunit/milestones{/number}","notifications_url":"https://api.github.com/repos/siu/minunit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/siu/minunit/labels{/name}","releases_url":"https://api.github.com/repos/siu/minunit/releases{/id}","created_at":"2012-06-25T15:17:12Z","updated_at":"2015-01-11T20:56:06Z","pushed_at":"2014-12-06T23:52:45Z","git_url":"git://github.com/siu/minunit.git","ssh_url":"git@github.com:siu/minunit.git","clone_url":"https://github.com/siu/minunit.git","svn_url":"https://github.com/siu/minunit","homepage":null,"size":168,"stargazers_count":56,"watchers_count":56,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":16,"mirror_url":null,"open_issues_count":2,"forks":16,"open_issues":2,"watchers":56,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/siu/minunit/pulls/7"},"html":{"href":"https://github.com/siu/minunit/pull/7"},"issue":{"href":"https://api.github.com/repos/siu/minunit/issues/7"},"comments":{"href":"https://api.github.com/repos/siu/minunit/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/siu/minunit/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/siu/minunit/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/siu/minunit/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/siu/minunit/statuses/203a835acf50d57b3861187a1c3e59066c0479b5"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":1,"review_comments":0,"commits":1,"additions":24,"deletions":18,"changed_files":1}}