Skip to content

Commit

Permalink
moninj: add min declaration
Browse files Browse the repository at this point in the history
sbourdeauducq committed Nov 20, 2016
1 parent ec645d3 commit 0da2202
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions artiq/runtime/moninj.c
Original file line number Diff line number Diff line change
@@ -12,6 +12,8 @@
#include "log.h"
#include "moninj.h"

#define min(a, b) (a>b?b:a)

enum {
MONINJ_REQ_MONITOR = 1,
MONINJ_REQ_TTLSET = 2

1 comment on commit 0da2202

@sbourdeauducq
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@klickverbot had you tested your patch?

Please sign in to comment.