Provide a program_name global variable as required by gnulib to
authorJ. Ali Harlow <ali@juiblex.co.uk>
Thu Jan 08 17:50:04 2009 +0000 (2009-01-08)
changeset 33847f3e27cb978
parent 337 c89695ed29f0
child 339 159067260aad
Provide a program_name global variable as required by gnulib to
avoid the need for all programs that use librazor to do so.
librazor/util.c
     1.1 --- a/librazor/util.c	Thu Jan 08 17:36:50 2009 +0000
     1.2 +++ b/librazor/util.c	Thu Jan 08 17:50:04 2009 +0000
     1.3 @@ -39,6 +39,9 @@
     1.4  #define O_BINARY	0
     1.5  #endif
     1.6  
     1.7 +/* Required by gnulib on non-libc platforms */
     1.8 +char *program_name = "librazor";
     1.9 +
    1.10  int
    1.11  razor_create_dir(const char *root, const char *path)
    1.12  {