diff options
author | Garrett D'Amore <garrett@damore.org> | 2015-07-21 19:15:21 -0700 |
---|---|---|
committer | Garrett D'Amore <garrett@damore.org> | 2015-07-21 23:54:24 -0700 |
commit | 3d978156c04bd75052deaa1726f2b4b5bccc989c (patch) | |
tree | e4f2e974ccbd869cc82666ef2e1f3ef0bf7d435e /src/utils | |
parent | e9281000860e529349bf864acbf1332f40b28d7e (diff) | |
download | nanomsg-3d978156c04bd75052deaa1726f2b4b5bccc989c.tar.gz |
fixes #437 inconsistent DLL linkage for nn_sleep
Diffstat (limited to 'src/utils')
-rw-r--r-- | src/utils/sleep.c | 1 | ||||
-rw-r--r-- | src/utils/sleep.h | 30 |
2 files changed, 0 insertions, 31 deletions
diff --git a/src/utils/sleep.c b/src/utils/sleep.c index 0811891..eee3ec2 100644 --- a/src/utils/sleep.c +++ b/src/utils/sleep.c @@ -21,7 +21,6 @@ */ #include "../nn.h" -#include "sleep.h" #include "err.h" #ifdef NN_HAVE_WINDOWS diff --git a/src/utils/sleep.h b/src/utils/sleep.h deleted file mode 100644 index 3478bc6..0000000 --- a/src/utils/sleep.h +++ /dev/null @@ -1,30 +0,0 @@ -/* - Copyright (c) 2012 Martin Sustrik All rights reserved. - - Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), - to deal in the Software without restriction, including without limitation - the rights to use, copy, modify, merge, publish, distribute, sublicense, - and/or sell copies of the Software, and to permit persons to whom - the Software is furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included - in all copies or substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL - THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING - FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS - IN THE SOFTWARE. -*/ - -#ifndef NN_SLEEP_INCLUDED -#define NN_SLEEP_INCLUDED - -/* Platform independent implementation of sleeping. */ - -NN_EXPORT void nn_sleep (int milliseconds); - -#endif |