mirror of
https://gitlab.freedesktop.org/libbsd/libbsd.git
synced 2025-10-14 23:08:00 +02:00
build: Conditionalize getprogname()/setprogname on macOS
These functions are provided by the system libc, so there is no need for us to provide them.
This commit is contained in:
@@ -65,8 +65,10 @@ void arc4random_addrandom(unsigned char *dat, int datlen);
|
||||
|
||||
int dehumanize_number(const char *str, int64_t *size);
|
||||
|
||||
#if !defined(__APPLE__)
|
||||
const char *getprogname(void);
|
||||
void setprogname(const char *);
|
||||
#endif
|
||||
|
||||
int heapsort(void *, size_t, size_t, int (*)(const void *, const void *));
|
||||
int mergesort(void *base, size_t nmemb, size_t size,
|
||||
|
Reference in New Issue
Block a user