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 authored and brndnmtthws committed Aug 8, 2023
1 parent 8f40325 commit 16b8907
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 16b8907

Please sign in to comment.