Deleted Added
full compact
libusb01.c (188678) libusb01.c (189585)
1/* $FreeBSD: head/lib/libusb20/libusb20_compat01.c 188678 2009-02-16 15:32:12Z thompsa $ */
1/* $FreeBSD: head/lib/libusb20/libusb20_compat01.c 189585 2009-03-09 17:05:31Z thompsa $ */
2/*-
3 * Copyright (c) 2008 Hans Petter Selasky. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer.

--- 22 unchanged lines hidden (view full) ---

32
33#include <stdlib.h>
34#include <stdio.h>
35#include <errno.h>
36
37#include "libusb20.h"
38#include "libusb20_desc.h"
39#include "libusb20_int.h"
2/*-
3 * Copyright (c) 2008 Hans Petter Selasky. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer.

--- 22 unchanged lines hidden (view full) ---

32
33#include <stdlib.h>
34#include <stdio.h>
35#include <errno.h>
36
37#include "libusb20.h"
38#include "libusb20_desc.h"
39#include "libusb20_int.h"
40#include "libusb20_compat01.h"
40#include "usb.h"
41
42/*
43 * The two following macros were taken from the original LibUSB v0.1
44 * for sake of compatibility:
45 */
46#define LIST_ADD(begin, ent) \
47 do { \
48 if (begin) { \

--- 900 unchanged lines hidden ---
41
42/*
43 * The two following macros were taken from the original LibUSB v0.1
44 * for sake of compatibility:
45 */
46#define LIST_ADD(begin, ent) \
47 do { \
48 if (begin) { \

--- 900 unchanged lines hidden ---