Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d769a88f authored by Chris Manton's avatar Chris Manton Committed by Automerger Merge Worker
Browse files

Explict default init types module_t am: 223966c3 am: a994f3ff am: 94d7533e

Original change: https://android-review.googlesource.com/c/platform/system/bt/+/1673592

Change-Id: I9f36b63443aac490ca40aa58fc95e3e97c5db41f
parents 8bcdb194 94d7533e
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
@@ -29,12 +29,12 @@ typedef future_t* (*module_lifecycle_fn)(void);
#define BTCORE_MAX_MODULE_DEPENDENCIES 10

typedef struct {
  const char* name;
  module_lifecycle_fn init;
  module_lifecycle_fn start_up;
  module_lifecycle_fn shut_down;
  module_lifecycle_fn clean_up;
  const char* dependencies[BTCORE_MAX_MODULE_DEPENDENCIES];
  const char* name{nullptr};
  module_lifecycle_fn init{nullptr};
  module_lifecycle_fn start_up{nullptr};
  module_lifecycle_fn shut_down{nullptr};
  module_lifecycle_fn clean_up{nullptr};
  const char* dependencies[BTCORE_MAX_MODULE_DEPENDENCIES]{nullptr};
} module_t;

// Prepares module management. Must be called before doing anything with