[2200] 2009-05-09 Vladimir Serbinenko <[email protected]>

Vladimir Serbinenko <[email protected]>
Newsgroups gmane.comp.boot-loaders.grub.cvs
Message-ID <[email protected]>
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  <[email protected]>

	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  <[email protected]>
+
+	Fixed grub-emu
+
+	* kern/dl.c (grub_dl_ref): omit when compiling grub-emu
+	(grub_dl_ref): likewise
+
 2009-05-08  Robert Millan  <[email protected]>
 
 	* 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)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.