Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
a36ccc7b
Commit
a36ccc7b
authored
Jun 24, 2004
by
Mike Hibler
Browse files
Minor lint for GCC 3.3
(early stages of getting Emulab software to build under FreeBSD 5)
parent
16c1bc02
Changes
4
Hide whitespace changes
Inline
Side-by-side
event/lib/event.c
View file @
a36ccc7b
/*
* EMULAB-COPYRIGHT
* Copyright (c) 2000-200
3
University of Utah and the Flux Group.
* Copyright (c) 2000-200
4
University of Utah and the Flux Group.
* All rights reserved.
*/
...
...
@@ -23,10 +23,13 @@
#include <time.h>
#include "event.h"
#define ERROR(fmt,...) fprintf(stderr,__FUNCTION__ ": " fmt, ## __VA_ARGS__)
#define INFO(fmt,...) fprintf(stderr,__FUNCTION__ ": " fmt, ## __VA_ARGS__)
#define ERROR(fmt,...) \
{ fputs(__FUNCTION__,stderr); fprintf(stderr,": " fmt, ## __VA_ARGS__); }
#define INFO(fmt,...) \
{ fputs(__FUNCTION__,stderr); fprintf(stderr,": " fmt, ## __VA_ARGS__); }
#ifdef DEBUG
#define TRACE(fmt,...) frintf(stderr,__FUNCTION__ ": " fmt, ## __VA_ARGS__)
#define TRACE(fmt,...) \
{ fputs(__FUNCTION__,stderr); fprintf(stderr,": " fmt, ## __VA_ARGS__); }
#else
#define TRACE(fmt,...)
#endif
...
...
event/proxy/proxyserver.c
View file @
a36ccc7b
/*
* EMULAB-COPYRIGHT
* Copyright (c) 2003 University of Utah and the Flux Group.
* Copyright (c) 2003
, 2004
University of Utah and the Flux Group.
* All rights reserved.
*/
...
...
@@ -382,6 +382,7 @@ ServerLoop(void)
client_records
=
crecord
;
info
(
"Connected: %s
\n
"
,
inet_ntoa
(
client
.
sin_addr
));
next:
;
}
/*
...
...
event/tbgen/tevc.c
View file @
a36ccc7b
/*
* EMULAB-COPYRIGHT
* Copyright (c) 2000-200
3
University of Utah and the Flux Group.
* Copyright (c) 2000-200
4
University of Utah and the Flux Group.
* All rights reserved.
*/
...
...
@@ -305,7 +305,7 @@ main(int argc, char **argv)
format
+=
strlen
(
format
)
-
len
;
gettimeofday
(
&
when
,
NULL
);
localtime_r
(
&
when
.
tv_sec
,
&
tm
);
localtime_r
(
(
time_t
*
)
&
when
.
tv_sec
,
&
tm
);
if
(
!
strptime
(
evtime
,
format
,
&
tm
))
usage
(
progname
);
...
...
sensors/slothd/slothd.h
View file @
a36ccc7b
...
...
@@ -30,7 +30,6 @@
#include <netdb.h>
#include <signal.h>
#include <syslog.h>
#include <varargs.h>
#include <utmp.h>
#ifdef __linux__
#include <net/if.h>
...
...
Write
Preview
Supports
Markdown
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