~ubuntu-branches/ubuntu/precise/ndiswrapper/precise

« back to all changes in this revision

Viewing changes to driver/rtl.c

  • Committer: Package Import Robot
  • Author(s): Julian Andres Klode
  • Date: 2012-03-05 16:49:02 UTC
  • mfrom: (1.2.16) (2.1.13 sid)
  • Revision ID: package-import@ubuntu.com-20120305164902-xx82le3qjjzr6s4j
Tags: 1.57-1
* Imported Upstream version 1.57
  - Fixes build with kernel 3.2 (Closes: #655223, LP: #910597)
* Enable hardening build flags (Closes: #655249)
* patches/ndiswrapper-harden.patch: Use $(shell X) instead of `X`
* Update to Policy 3.9.3, copyright-format 1.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
2
 *  Copyright (C) 2003-2005 Pontus Fuchs, Giridhar Pemmasani
 
3
 *  Copyright (C) 2006-2007 Giridhar Pemmasani
3
4
 *
4
5
 *  This program is free software; you can redistribute it and/or modify
5
6
 *  it under the terms of the GNU General Public License as published by
22
23
        size_t i;
23
24
        char *x, *y;
24
25
 
 
26
        ENTER1("%p %p %zd", a, b, len);
25
27
        x = (char *)a;
26
28
        y = (char *)b;
27
29
        /* MSDN says this should return number of bytes that compare as
704
706
        TODO();
705
707
}
706
708
 
707
 
int rtl_init(void)
708
 
{
709
 
        return 0;
710
 
}
711
 
 
712
 
/* called when module is being removed */
713
 
void rtl_exit(void)
714
 
{
715
 
        EXIT4(return);
 
709
wstdcall BOOLEAN WIN_FUNC(RtlIsServicePackVersionInstalled,1)
 
710
        (ULONG version)
 
711
{
 
712
        /* Assume we have all service packs */
 
713
        TRACE1("version: %d", version);
 
714
        return TRUE;
716
715
}