clock.c (2d8ad8719591fa803b0d589ed057fa46f49b7155) | clock.c (5d76fc219ce38a226314436563f6b9d405bb6db1) |
---|---|
1/* 2 * Copyright 2008 by Andreas Eversberg <andreas@eversberg.eu> 3 * 4 * This program is free software; you can redistribute it and/or modify 5 * it under the terms of the GNU General Public License version 2 as 6 * published by the Free Software Foundation. 7 * 8 * This program is distributed in the hope that it will be useful, --- 24 unchanged lines hidden (view full) --- 33 * 34 */ 35 36#include <linux/slab.h> 37#include <linux/types.h> 38#include <linux/stddef.h> 39#include <linux/spinlock.h> 40#include <linux/mISDNif.h> | 1/* 2 * Copyright 2008 by Andreas Eversberg <andreas@eversberg.eu> 3 * 4 * This program is free software; you can redistribute it and/or modify 5 * it under the terms of the GNU General Public License version 2 as 6 * published by the Free Software Foundation. 7 * 8 * This program is distributed in the hope that it will be useful, --- 24 unchanged lines hidden (view full) --- 33 * 34 */ 35 36#include <linux/slab.h> 37#include <linux/types.h> 38#include <linux/stddef.h> 39#include <linux/spinlock.h> 40#include <linux/mISDNif.h> |
41#include <linux/export.h> |
|
41#include "core.h" 42 43static u_int *debug; 44static LIST_HEAD(iclock_list); 45static DEFINE_RWLOCK(iclock_lock); 46static u16 iclock_count; /* counter of last clock */ 47static struct timeval iclock_tv; /* time stamp of last clock */ 48static int iclock_tv_valid; /* already received one timestamp */ --- 169 unchanged lines hidden --- | 42#include "core.h" 43 44static u_int *debug; 45static LIST_HEAD(iclock_list); 46static DEFINE_RWLOCK(iclock_lock); 47static u16 iclock_count; /* counter of last clock */ 48static struct timeval iclock_tv; /* time stamp of last clock */ 49static int iclock_tv_valid; /* already received one timestamp */ --- 169 unchanged lines hidden --- |