commit-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[2200] 2009-05-09 Vladimir Serbinenko <address@hidden>


From: Vladimir Serbinenko
Subject: [2200] 2009-05-09 Vladimir Serbinenko <address@hidden>
Date: Sat, 09 May 2009 10:58:44 +0000

Revision: 2200
          http://svn.sv.gnu.org/viewvc/?view=rev&root=grub&revision=2200
Author:   phcoder
Date:     2009-05-09 10:58:43 +0000 (Sat, 09 May 2009)
Log Message:
-----------
2009-05-09  Vladimir Serbinenko  <address@hidden>

        Fixed grub-emu

        * kern/dl.c (grub_dl_ref): omit when compiling grub-emu
        (grub_dl_ref): likewise

Modified Paths:
--------------
    trunk/grub2/ChangeLog
    trunk/grub2/kern/dl.c

Modified: trunk/grub2/ChangeLog
===================================================================
--- trunk/grub2/ChangeLog       2009-05-08 19:48:54 UTC (rev 2199)
+++ trunk/grub2/ChangeLog       2009-05-09 10:58:43 UTC (rev 2200)
@@ -1,3 +1,10 @@
+2009-05-09  Vladimir Serbinenko  <address@hidden>
+
+       Fixed grub-emu
+
+       * kern/dl.c (grub_dl_ref): omit when compiling grub-emu
+       (grub_dl_ref): likewise
+
 2009-05-08  Robert Millan  <address@hidden>
 
        * util/i386/pc/grub-setup.c (setup): Factorize find_usable_region(),

Modified: trunk/grub2/kern/dl.c
===================================================================
--- trunk/grub2/kern/dl.c       2009-05-08 19:48:54 UTC (rev 2199)
+++ trunk/grub2/kern/dl.c       2009-05-09 10:58:43 UTC (rev 2200)
@@ -480,6 +480,7 @@
   return GRUB_ERR_NONE;
 }
 
+#ifndef GRUB_UTIL
 int
 grub_dl_ref (grub_dl_t mod)
 {
@@ -501,6 +502,7 @@
   
   return --mod->ref_count;
 }
+#endif
 
 static void
 grub_dl_flush_cache (grub_dl_t mod)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]