Mercurial > hg > octave-kai > gnulib-hg
changeset 10647:038e7a58c9c8
openat-die.c: avoid 'no previous prototype' warning
* lib/openat-die.c: Include "openat.h".
Reported by Reuben Thomas <rrt@sc3d.org>.
author | Jim Meyering <meyering@redhat.com> |
---|---|
date | Thu, 16 Oct 2008 14:35:41 +0200 |
parents | 75ed7420a5bf |
children | 9a2054f7225c |
files | ChangeLog lib/openat-die.c |
diffstat | 2 files changed, 9 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-10-16 Jim Meyering <meyering@redhat.com> + + openat-die.c: avoid 'no previous prototype' warning + * lib/openat-die.c: Include "openat.h". + Reported by Reuben Thomas <rrt@sc3d.org>. + 2008-10-16 Simon Josefsson <simon@josefsson.org> * m4/netdb_h.m4: Assume that if netdb.h exists, it works.
--- a/lib/openat-die.c +++ b/lib/openat-die.c @@ -1,6 +1,6 @@ /* Report a save- or restore-cwd failure in our openat replacement and then exit. - Copyright (C) 2005, 2006 Free Software Foundation, Inc. + Copyright (C) 2005, 2006, 2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -17,6 +17,8 @@ #include <config.h> +#include "openat.h" + #include <stdlib.h> #include "error.h"