aboutsummaryrefslogtreecommitdiffhomepage
path: root/fish_pager.cpp
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-02-09 19:26:44 -0800
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-02-09 19:26:44 -0800
commit910863e9ea5e1a4db192b5be1630d125cff18485 (patch)
treec754d5761aa3537ac5cd8a031d62d1537700b633 /fish_pager.cpp
parenta38490429b5d6fd4490708990b01b1662b059daf (diff)
Final removal of halloc. It's like Christmas Morning.
Diffstat (limited to 'fish_pager.cpp')
-rw-r--r--fish_pager.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/fish_pager.cpp b/fish_pager.cpp
index 06273e75..822e2426 100644
--- a/fish_pager.cpp
+++ b/fish_pager.cpp
@@ -59,8 +59,6 @@
#include "output.h"
#include "input_common.h"
#include "env_universal.h"
-#include "halloc.h"
-#include "halloc_util.h"
#include "print_help.h"
enum
@@ -203,7 +201,7 @@ struct comp_t
*/
static int get_color( int highlight )
{
- wchar_t *val;
+ const wchar_t *val;
if( highlight < 0 )
return FISH_COLOR_NORMAL;
@@ -1210,7 +1208,6 @@ int main( int argc, char **argv )
This initialization is made early, so that the other init code
can use global_context for memory managment
*/
- halloc_util_init();
program_name = L"fish_pager";
@@ -1450,7 +1447,5 @@ int main( int argc, char **argv )
}
destroy();
- halloc_util_destroy();
-
}