projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
doc: use ASCII in .texi files where UTF-8 isn't needed
[gnulib.git]
/
tests
/
test-gethostname.c
diff --git
a/tests/test-gethostname.c
b/tests/test-gethostname.c
index
3ab0b86
..
a6f3fda
100644
(file)
--- a/
tests/test-gethostname.c
+++ b/
tests/test-gethostname.c
@@
-1,5
+1,5
@@
/*
/*
- * Copyright (C) 2008
, 2009 Free Software Foundation
+ * Copyright (C) 2008
-2014 Free Software Foundation, Inc.
* Written by Simon Josefsson.
*
* This program is free software: you can redistribute it and/or modify
* Written by Simon Josefsson.
*
* This program is free software: you can redistribute it and/or modify
@@
-19,6
+19,10
@@
/* Get gethostname() declaration. */
#include <unistd.h>
/* Get gethostname() declaration. */
#include <unistd.h>
+
+#include "signature.h"
+SIGNATURE_CHECK (gethostname, int, (char *, size_t));
+
/* Get HOST_NAME_MAX definition. */
#include <limits.h>
/* Get HOST_NAME_MAX definition. */
#include <limits.h>
@@
-29,7
+33,7
@@
#define NOHOSTNAME "magic-gnulib-test-string"
int
#define NOHOSTNAME "magic-gnulib-test-string"
int
-main (int argc, char *argv[])
+main (int argc, char *argv[]
_GL_UNUSED
)
{
char buf[HOST_NAME_MAX];
int rc;
{
char buf[HOST_NAME_MAX];
int rc;