#include "poptint.h"
/*@-compmempass@*/ /* FIX: item->option.longName kept, not dependent. */
-static void configLine(poptContext con, char * line)
+static void configLine(poptContext con, unsigned char * line)
/*@modifies con @*/
{
/*@-type@*/
/*@=type@*/
const char * entryType;
const char * opt;
- poptItem item = alloca(sizeof(*item));
+ poptItem item = (poptItem) alloca(sizeof(*item));
int i, j;
memset(item, 0, sizeof(*item));
int poptReadConfigFile(poptContext con, const char * fn)
{
- const char * file, * chptr, * end;
- char * buf;
-/*@dependent@*/ char * dst;
+ const unsigned char * file, * chptr, * end;
+ unsigned char * buf;
+/*@dependent@*/ unsigned char * dst;
int fd, rc;
off_t fileLength;
return 0;
}
-int poptReadDefaultConfig(poptContext con, /*@unused@*/ int useEnv) {
+int poptReadDefaultConfig(poptContext con, /*@unused@*/ UNUSED(int useEnv))
+{
char * fn, * home;
int rc;