libpayload update
* rework Config.in * add string_to_args function to actually make getopt usable. * add strchr * add strlcat * some malloc fixes (exposed by the USB stack) * add malloc debugging (thanks to Matthias Krause from Secunet!) * make LAR support optional, it's not really used anymore * (define htoX macros for ppc) Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Joseph Smith <joe@settoplinux.org> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5298 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
committed by
Stefan Reinauer
parent
516a2a7bfa
commit
e5d30b78b7
@ -75,4 +75,9 @@ extern char *suboptarg; /* getsubopt(3) external variable */
|
||||
#endif
|
||||
//__END_DECLS
|
||||
|
||||
#define MAX_ARGS 16
|
||||
extern char *string_argv[MAX_ARGS];
|
||||
extern int string_argc;
|
||||
int string_to_args(char *caller, char *string);
|
||||
|
||||
#endif /* !_GETOPT_H_ */
|
||||
|
Reference in New Issue
Block a user