commit | fec443797243311752042189ead0dd2e163c1a74 | [log] [tgz] |
---|---|---|
author | Josh Gao <jmgao@google.com> | Mon Aug 28 13:22:55 2017 -0700 |
committer | Josh Gao <jmgao@google.com> | Mon Aug 28 13:22:55 2017 -0700 |
tree | f734025bef58a1c0d5c31f396dbb434824a29717 | |
parent | 92052aa5827f29bfbaa5837b23cb44b641f14035 [diff] |
Switch RebootType to an enum class. RebootType's shutdown enumerator collides with the shutdown socket function, which causes problems when <sys/socket.h> gets included transitively. Switch RebootType into an enum class, to namespace its enumerators. Test: treehugger Change-Id: Ib5e8667df363acb28771430fd43000d381dc8620