~ubuntu-core-dev/update-notifier/ubuntu

« back to all changes in this revision

Viewing changes to src/firmware.c

  • Committer: Michael Vogt
  • Date: 2010-06-01 13:28:36 UTC
  • Revision ID: michael.vogt@ubuntu.com-20100601132836-obv0ou9wph048md2
mergedĀ fromĀ debian

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#ifdef HAVE_CONFIG_H
2
2
#include "config.h"
3
3
#endif
4
 
 
 
4
#ifdef HAVE_GUDEV
5
5
#include <sys/wait.h>
6
6
 
7
7
#define G_UDEV_API_IS_SUBJECT_TO_CHANGE
139
139
    for (elem = usb_devices; elem != NULL; elem = g_list_next(elem))
140
140
       deal_with_hplip_firmware(elem->data);
141
141
}
 
142
#else
 
143
#include <glib.h>
 
144
void
 
145
missing_firmware_init()
 
146
{
 
147
    g_warning("Installation of firmware disabled.");
 
148
}
 
149
#endif // HAVE_GUDEV