X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=task.cc;h=99743b8a6707302efc0ecadcbb0426107f8eb6e8;hb=67cd3d158edc8231d007a357329d9cc497836965;hp=71002c3c187aff3c4058d8a1516195c1fd72cf30;hpb=ba46b057f3e2613a86f2dea7fa8022990482c735;p=universe.git diff --git a/task.cc b/task.cc index 71002c3..99743b8 100644 --- a/task.cc +++ b/task.cc @@ -1,19 +1,6 @@ -//////////////////////////////////////////////////////////////////////////////// -// This program is free software; you can redistribute it and/or // -// modify it under the terms of the GNU General Public License // -// version 2 as published by the Free Software Foundation. // -// // -// This program is distributed in the hope that it will be useful, but // -// WITHOUT ANY WARRANTY; without even the implied warranty of // -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // -// General Public License for more details. // -// // -// Written and (C) by François Fleuret // -// Contact for comments & bug reports // -//////////////////////////////////////////////////////////////////////////////// - -// $Id: task.cc,v 1.8 2006-07-10 15:19:06 fleuret Exp $ +// Written and (C) by Francois Fleuret +// Contact for comments & bug reports #include #include @@ -28,7 +15,7 @@ Task::~Task() { } typedef Task *TaskConstructor(); -Task *load_task(char *filename) { +Task *load_task(const char *filename) { void *handle = dlopen(filename, RTLD_NOW | RTLD_GLOBAL); if(handle == 0) {