diff options
author | Guillaume Cottenceau <gc@mandriva.com> | 2003-12-22 17:02:09 +0000 |
---|---|---|
committer | Guillaume Cottenceau <gc@mandriva.com> | 2003-12-22 17:02:09 +0000 |
commit | 4b01e5255a3886df26fd51e78c3272463ae0e9e3 (patch) | |
tree | f706cf4a5c7e5138885d71af19adb26c1ee85ee6 /mdk-stage1/tools.h | |
parent | b0f87236c9e3fdfe75732701838df534fba3d423 (diff) | |
download | drakx-4b01e5255a3886df26fd51e78c3272463ae0e9e3.tar drakx-4b01e5255a3886df26fd51e78c3272463ae0e9e3.tar.gz drakx-4b01e5255a3886df26fd51e78c3272463ae0e9e3.tar.bz2 drakx-4b01e5255a3886df26fd51e78c3272463ae0e9e3.tar.xz drakx-4b01e5255a3886df26fd51e78c3272463ae0e9e3.zip |
try to use asprintf a bit (hope it doesn't segfault too much)
Diffstat (limited to 'mdk-stage1/tools.h')
-rw-r--r-- | mdk-stage1/tools.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mdk-stage1/tools.h b/mdk-stage1/tools.h index d8892a1ed..be3883eb5 100644 --- a/mdk-stage1/tools.h +++ b/mdk-stage1/tools.h @@ -43,6 +43,7 @@ char ** grab_env(void); char ** list_directory(char * direct); int string_array_length(char ** a); int kernel_version(void); +char * asprintf_(const char *msg, ...); int scall_(int retval, char * msg, char * file, int line); #define scall(retval, msg) scall_(retval, msg, __FILE__, __LINE__) |