Commit fcd81bcf by Philip Kelley

No bitfields in public headers b/c packing is compiler-specific

parent c9459abb
...@@ -37,7 +37,7 @@ typedef enum { ...@@ -37,7 +37,7 @@ typedef enum {
* Remote head description, given out on `ls` calls. * Remote head description, given out on `ls` calls.
*/ */
struct git_remote_head { struct git_remote_head {
int local:1; /* available locally */ int local; /* available locally */
git_oid oid; git_oid oid;
git_oid loid; git_oid loid;
char *name; char *name;
......
...@@ -300,7 +300,7 @@ typedef struct git_smart_subtransport_definition { ...@@ -300,7 +300,7 @@ typedef struct git_smart_subtransport_definition {
/* True if the protocol is stateless; false otherwise. For example, /* True if the protocol is stateless; false otherwise. For example,
* http:// is stateless, but git:// is not. */ * http:// is stateless, but git:// is not. */
unsigned rpc : 1; unsigned rpc;
} git_smart_subtransport_definition; } git_smart_subtransport_definition;
/* Smart transport subtransports that come with libgit2 */ /* Smart transport subtransports that come with libgit2 */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment