Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
U
unique-xids
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
uplex-varnish
unique-xids
Commits
b3d6addc
Commit
b3d6addc
authored
Oct 09, 2011
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make TIM_parse() return double like all other TIM_ functions.
Eliminate libvarnish.h embedded #includes.
parent
6e6edd08
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
9 additions
and
6 deletions
+9
-6
cache_pool.c
bin/varnishd/cache_pool.c
+2
-0
mgt_sandbox_solaris.c
bin/varnishd/mgt_sandbox_solaris.c
+1
-0
varnishncsa.c
bin/varnishncsa/varnishncsa.c
+1
-0
libvarnish.h
include/libvarnish.h
+1
-4
cli_serve.c
lib/libvarnish/cli_serve.c
+1
-0
time.c
lib/libvarnish/time.c
+2
-2
vmb.c
lib/libvarnish/vmb.c
+1
-0
No files found.
bin/varnishd/cache_pool.c
View file @
b3d6addc
...
...
@@ -58,6 +58,8 @@
#ifndef CLOCK_MONOTONIC
#define CLOCK_MONOTONIC 0
#include <sys/time.h>
static
int
clock_gettime
(
int
foo
,
struct
timespec
*
ts
)
{
...
...
bin/varnishd/mgt_sandbox_solaris.c
View file @
b3d6addc
...
...
@@ -36,6 +36,7 @@
#include <stdio.h>
#include <syslog.h>
#include <strin.h>
#ifdef HAVE_PRIV_H
#include <priv.h>
...
...
bin/varnishncsa/varnishncsa.c
View file @
b3d6addc
...
...
@@ -69,6 +69,7 @@
#include <string.h>
#include <strings.h>
#include <unistd.h>
#include <time.h>
#include "compat/daemon.h"
...
...
include/libvarnish.h
View file @
b3d6addc
...
...
@@ -28,10 +28,7 @@
*
*/
#include <errno.h>
#include <time.h>
#include <stdint.h>
#include <sys/types.h>
#include "vas.h"
...
...
@@ -88,7 +85,7 @@ void VTCP_set_read_timeout(int s, double seconds);
/* from libvarnish/time.c */
#define TIM_FORMAT_SIZE 30
void
TIM_format
(
double
t
,
char
*
p
);
time_t
TIM_parse
(
const
char
*
p
);
double
TIM_parse
(
const
char
*
p
);
double
TIM_mono
(
void
);
double
TIM_real
(
void
);
void
TIM_sleep
(
double
t
);
...
...
lib/libvarnish/cli_serve.c
View file @
b3d6addc
...
...
@@ -36,6 +36,7 @@
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include <time.h>
#include <unistd.h>
#include "vqueue.h"
...
...
lib/libvarnish/time.c
View file @
b3d6addc
...
...
@@ -116,10 +116,10 @@ static const char *fmts[] = {
NULL
};
time_t
double
TIM_parse
(
const
char
*
p
)
{
time_t
t
;
double
t
;
struct
tm
tm
;
const
char
**
r
;
...
...
lib/libvarnish/vmb.c
View file @
b3d6addc
...
...
@@ -27,6 +27,7 @@
*/
#include <pthread.h>
#include <unistd.h>
#include "libvarnish.h"
#include "vmb.h"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment