From 0b7a99e65bb95cd86d8846a21fce1cfc2b0b7495 Mon Sep 17 00:00:00 2001 From: ticktock35 Date: Sun, 14 Dec 2008 23:18:06 -0500 Subject: * Rename top level ipkg directory to opkg git-svn-id: http://opkg.googlecode.com/svn/trunk@8 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358 --- (limited to 'user.c') diff --git a/user.c b/user.c index b272de7..98ab7b9 100644 --- a/user.c +++ b/user.c @@ -20,12 +20,12 @@ #include #include "file_util.h" #include "str_util.h" -#ifdef IPKG_LIB -#include "libipkg.h" +#ifdef OPKG_LIB +#include "libopkg.h" #endif -#ifdef IPKG_LIB +#ifdef OPKG_LIB static char *question = NULL; static int question_len = 255; #endif @@ -36,7 +36,7 @@ char *get_user_response(const char *format, ...) char *response; va_start(ap, format); -#ifndef IPKG_LIB +#ifndef OPKG_LIB vprintf(format, ap); do { response = file_read_line_alloc(stdin); @@ -49,7 +49,7 @@ char *get_user_response(const char *format, ...) } len = vsnprintf(question,question_len,format,ap); } while (len > question_len); - response = strdup(ipkg_cb_response(question)); + response = strdup(opkg_cb_response(question)); #endif str_chomp(response); str_tolower(response); -- cgit v0.9.1