https://github.com/git/git
Revision 8dc1d0bf64ce84030a1a13ea64343f816dba9e27 authored by Junio C Hamano on 18 October 2017, 05:19:00 UTC, committed by Junio C Hamano on 18 October 2017, 05:19:00 UTC
Code cmp.std.c nitpick.

* mh/for-each-string-list-item-empty-fix:
  for_each_string_list_item: avoid undefined behavior for empty list
2 parent s 181f145 + ac7da78
Raw File
Tip revision: 8dc1d0bf64ce84030a1a13ea64343f816dba9e27 authored by Junio C Hamano on 18 October 2017, 05:19:00 UTC
Merge branch 'mh/for-each-string-list-item-empty-fix' into maint
Tip revision: 8dc1d0b
progress.h
#ifndef PROGRESS_H
#define PROGRESS_H

struct progress;

void display_throughput(struct progress *progress, off_t total);
int display_progress(struct progress *progress, unsigned n);
struct progress *start_progress(const char *title, unsigned total);
struct progress *start_progress_delay(const char *title, unsigned total,
				       unsigned percent_treshold, unsigned delay);
void stop_progress(struct progress **progress);
void stop_progress_msg(struct progress **progress, const char *msg);

#endif
back to top