summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPhilip Kelley <phkelley@hotmail.com>2013-02-07 12:47:29 -0500
committerPhilip Kelley <phkelley@hotmail.com>2013-02-07 12:47:29 -0500
commitfcd81bcf52d1c7a033ad185febf7d92b762ae3a8 (patch)
tree46d32a95ead0c94ba8bc9600371b7eccf78f933c /include
parentc9459abb61433ee83015c45cc30407512a0cb5af (diff)
downloadlibgit2-fcd81bcf52d1c7a033ad185febf7d92b762ae3a8.tar.gz
No bitfields in public headers b/c packing is compiler-specific
Diffstat (limited to 'include')
-rw-r--r--include/git2/net.h2
-rw-r--r--include/git2/transport.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/git2/net.h b/include/git2/net.h
index 6e3525f5d..e70ba1f71 100644
--- a/include/git2/net.h
+++ b/include/git2/net.h
@@ -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;
diff --git a/include/git2/transport.h b/include/git2/transport.h
index 469b43f72..783ea51bf 100644
--- a/include/git2/transport.h
+++ b/include/git2/transport.h
@@ -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 */