Skip to content

Commit

Permalink
Fix Haiku build
Browse files Browse the repository at this point in the history
Missing new OS-specific call, stubbed for now.
  • Loading branch information
mmuman committed Aug 5, 2023
1 parent 2d0d3fd commit 497734f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/haiku.cc
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,10 @@ double get_battery_perct_bar(struct text_object *obj) {
return batperct;
}

void get_battery_power_draw(char *buffer, unsigned int n, const char *bat) {
// TODO
}

int open_acpi_temperature(const char *name) { return -1; }

void get_acpi_ac_adapter(char *p_client_buffer, size_t client_buffer_size,
Expand Down

0 comments on commit 497734f

Please sign in to comment.