/*
- * 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
/* Get gethostname() declaration. */
#include <unistd.h>
+
+#include "signature.h"
+SIGNATURE_CHECK (gethostname, int, (char *, size_t));
+
/* Get HOST_NAME_MAX definition. */
#include <limits.h>
#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;