~ubuntu-branches/debian/squeeze/hal/squeeze

« back to all changes in this revision

Viewing changes to hald/linux/probing/probe-smbios.c

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2008-03-05 18:14:57 UTC
  • Revision ID: james.westby@ubuntu.com-20080305181457-fj989u7likg0vd6b
Tags: upstream-0.5.10+git20080301
ImportĀ upstreamĀ versionĀ 0.5.10+git20080301

Show diffs side-by-side

added added

removed removed

Lines of Context:
48
48
#define strbegin(buf, str) (strncmp (buf, str, strlen (str)) == 0)
49
49
 
50
50
/* global */
51
 
char *udi = NULL;
52
 
LibHalContext *ctx = NULL;
 
51
static char *udi = NULL;
 
52
static LibHalContext *ctx = NULL;
53
53
 
54
54
/** 
55
55
 *  setstr:
205
205
        /* read the output of the child */
206
206
        while(fgets (buf, sizeof(buf), f) != NULL)
207
207
        {
208
 
                unsigned int i;
 
208
                int i;
209
209
                unsigned int len;
210
210
                unsigned int tabs = 0;
211
211