diff options
author | ticktock35 <ticktock35@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358> | 2008-12-14 23:18:06 (EST) |
---|---|---|
committer | ticktock35 <ticktock35@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358> | 2008-12-14 23:18:06 (EST) |
commit | 0b7a99e65bb95cd86d8846a21fce1cfc2b0b7495 (patch) | |
tree | 5e32dd2d7117c2c5b6e3cdab91cc68d1fc9a2522 /user.c | |
parent | 7fc0de8e48b598a188237a13424be3f86189b3d9 (diff) |
* Rename top level ipkg directory to opkg
git-svn-id: http://opkg.googlecode.com/svn/trunk@8 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
Diffstat (limited to 'user.c')
-rw-r--r-- | user.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -20,12 +20,12 @@ #include <stdarg.h> #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); |