Merge pull request #1322 from phkelley/development

No bitfields in public headers b/c packing is compiler-specific
This commit is contained in:
Ben Straub 2013-02-07 10:13:24 -08:00
commit 41713ec15f
2 changed files with 2 additions and 2 deletions

View File

@ -37,7 +37,7 @@ typedef enum {
* Remote head description, given out on `ls` calls.
*/
struct git_remote_head {
int local:1; /* available locally */
int local; /* available locally */
git_oid oid;
git_oid loid;
char *name;

View File

@ -300,7 +300,7 @@ typedef struct git_smart_subtransport_definition {
/* True if the protocol is stateless; false otherwise. For example,
* http:// is stateless, but git:// is not. */
unsigned rpc : 1;
unsigned rpc;
} git_smart_subtransport_definition;
/* Smart transport subtransports that come with libgit2 */