]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* demo/dlmain.c (main): add missing const to declaration of name
authorAlexandre Oliva <oliva@dcc.unicamp.br>
Wed, 20 Jan 1999 17:05:29 +0000 (17:05 +0000)
committerAlexandre Oliva <aoliva@redhat.com>
Wed, 20 Jan 1999 17:05:29 +0000 (17:05 +0000)
ChangeLog
demo/dlmain.c

index 3977bddd20f870b49179929a16445a0709998a67..aa7ef04547e19d9f85b935b69d4bc14d5d38f6a4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 1999-01-20  Alexandre Oliva  <oliva@dcc.unicamp.br>
 
+       * demo/dlmain.c (main): add missing const to declaration of name
+
        * libltdl/ltdl.c (find_module): remove the libdir argument, and
        try to  open library only as old_name and dir/dlname
        (lt_dlopen): use `installed' variable in .la file to decide
index aab440c60a1a7b642b67b8c4284e3cf6a664d9d5..8d901cbd2ac205ad27ff797a3e0df1cac0891c21 100644 (file)
@@ -73,7 +73,7 @@ main (argc, argv)
   while (s->name)
     {
       if (s->address) {
-        char *name = s->name;
+        const char *name = s->name;
         printf ("found symbol: %s\n", name);
         if (!strcmp ("hello", name))
          phello = s->address;