~darkmuggle-deactivatedaccount/ubuntu/quantal/grub2/fix-872244

« back to all changes in this revision

Viewing changes to grub-core/loader/xnu.c

  • Committer: Bazaar Package Importer
  • Author(s): Colin Watson
  • Date: 2011-05-17 23:59:10 UTC
  • mto: (17.3.55 sid)
  • mto: This revision was merged to the branch mainline in revision 122.
  • Revision ID: james.westby@ubuntu.com-20110517235910-ma8u889vyjdfro27
Tags: upstream-1.99
ImportĀ upstreamĀ versionĀ 1.99

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
#include <grub/env.h>
35
35
#include <grub/i18n.h>
36
36
 
 
37
GRUB_MOD_LICENSE ("GPLv3+");
 
38
 
37
39
#if defined (__i386) && !defined (GRUB_MACHINE_EFI)
38
40
#include <grub/autoefi.h>
39
41
#endif
1429
1431
#endif
1430
1432
 
1431
1433
void
1432
 
grub_xnu_lock ()
 
1434
grub_xnu_lock (void)
1433
1435
{
1434
1436
  if (!locked)
1435
1437
    grub_dl_ref (my_mod);
1437
1439
}
1438
1440
 
1439
1441
void
1440
 
grub_xnu_unlock ()
 
1442
grub_xnu_unlock (void)
1441
1443
{
1442
1444
  if (locked)
1443
1445
    grub_dl_unref (my_mod);