X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Ftstdl.cpp;h=35061423c59b6453f839d93e8287a6d1f1e259c7;hb=a395969830b02ecb29a24d455d60edb394af77e4;hp=a56e123e5a44f35c4a44c9042349d55c01b72af6;hpb=79100c2ae2dac4bdde4f4d46b69e147562b4ec6c;p=metaproxy-moved-to-github.git diff --git a/src/tstdl.cpp b/src/tstdl.cpp index a56e123..3506142 100644 --- a/src/tstdl.cpp +++ b/src/tstdl.cpp @@ -1,8 +1,20 @@ -/* $Id: tstdl.cpp,v 1.3 2006-03-16 10:40:59 adam Exp $ - Copyright (c) 2005-2006, Index Data. +/* This file is part of Metaproxy. + Copyright (C) Index Data -%LICENSE% - */ +Metaproxy is free software; you can redistribute it and/or modify it under +the terms of the GNU General Public License as published by the Free +Software Foundation; either version 2, or (at your option) any later +version. + +Metaproxy 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. + +You should have received a copy of the GNU General Public License +along with this program; if not, write to the Free Software +Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +*/ #include "config.hpp" @@ -30,7 +42,7 @@ int main(int argc, char **argv) exit(1); } void *sym = dlsym(mod, argv[2]); - printf("sym=%p\n", sym); + cout << "sym=" << sym << endl; dlclose(mod); exit(0); #else @@ -42,8 +54,9 @@ int main(int argc, char **argv) /* * Local variables: * c-basic-offset: 4 + * c-file-style: "Stroustrup" * indent-tabs-mode: nil - * c-file-style: "stroustrup" * End: * vim: shiftwidth=4 tabstop=8 expandtab */ +