Add getprogname/setprogname for BSD compatibility.
This is one less change we have to make when porting BSD code. Bug: https://code.google.com/p/android/issues/detail?id=34898 Change-Id: If9b1a8d16996c7a19abcce8d3a456afc3e105a41
This commit is contained in:
@@ -153,6 +153,10 @@ typedef struct {
|
||||
|
||||
extern lldiv_t lldiv(long long, long long);
|
||||
|
||||
/* BSD compatibility. */
|
||||
extern const char* getprogname(void);
|
||||
extern void setprogname(const char*);
|
||||
|
||||
#if 1 /* MISSING FROM BIONIC - ENABLED FOR STLPort and libstdc++-v3 */
|
||||
/* make STLPort happy */
|
||||
extern int mblen(const char *, size_t);
|
||||
|
Reference in New Issue
Block a user