Skip to content

Commit

Permalink
lxc_container struct: add comment about moving member fns
Browse files Browse the repository at this point in the history
Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
  • Loading branch information
hallyn authored and stgraber committed Nov 17, 2016
1 parent a2e1ec0 commit 62d4edf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/lxc/lxccontainer.h
Expand Up @@ -51,6 +51,10 @@ struct lxc_lock;

/*!
* An LXC container.
*
* Note that changing the order of struct members is an API change, as callers
* will end up having the wrong offset when calling a function. So when making
* changes, whenever possible stick to simply appending new members.
*/
struct lxc_container {
// private fields
Expand Down

0 comments on commit 62d4edf

Please sign in to comment.