mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 16:53:55 -06:00
linux-user: compile envlist.c only once
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
5ba6531956
commit
6af5a25246
4 changed files with 2 additions and 2 deletions
22
envlist.h
Normal file
22
envlist.h
Normal file
|
@ -0,0 +1,22 @@
|
|||
#ifndef ENVLIST_H
|
||||
#define ENVLIST_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef struct envlist envlist_t;
|
||||
|
||||
extern envlist_t *envlist_create(void);
|
||||
extern void envlist_free(envlist_t *);
|
||||
extern int envlist_setenv(envlist_t *, const char *);
|
||||
extern int envlist_unsetenv(envlist_t *, const char *);
|
||||
extern int envlist_parse_set(envlist_t *, const char *);
|
||||
extern int envlist_parse_unset(envlist_t *, const char *);
|
||||
extern char **envlist_to_environ(const envlist_t *, size_t *);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* ENVLIST_H */
|
Loading…
Add table
Add a link
Reference in a new issue