summaryrefslogtreecommitdiff
path: root/lib/sys_file.in.h
diff options
context:
space:
mode:
authorEric Blake <ebb9@byu.net>2009-12-24 07:19:23 -0700
committerEric Blake <ebb9@byu.net>2009-12-29 22:06:57 -0700
commite0bf16819c83c3ef1d11bf373f5f90a1f09c534c (patch)
tree551a624e7371382c9c3f0d5e11a1441c2725c8bb /lib/sys_file.in.h
parent7bfa0dd93fb4adf45f062ae29aa06a3d95655f45 (diff)
downloadgnulib-e0bf16819c83c3ef1d11bf373f5f90a1f09c534c.tar.gz
link-warning: make usage consistent
Ensure GL_LINK_WARNING is defined before use. * modules/ctype (Depends-on): Add link-warning. (Makefile.am): Update rules accordingly. * modules/langinfo (Depends-on, Makefile.am): Likewise. * modules/locale (Depends-on, Makefile.am): Likewise. * modules/sys_file (Makefile.am): Likewise. * modules/getopt-posix (Makefile.am): Delete unused link warning efforts. * lib/ctype.in.h (GL_LINK_WARNING): Ensure definition before use. * lib/langinfo.in.h (GL_LINK_WARNING): Likewise. * lib/locale.in.h (GL_LINK_WARNING): Likewise. * lib/sys_file.in.h (GL_LINK_WARNING): Likewise. Signed-off-by: Eric Blake <ebb9@byu.net>
Diffstat (limited to 'lib/sys_file.in.h')
-rw-r--r--lib/sys_file.in.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/sys_file.in.h b/lib/sys_file.in.h
index 44626640ff..2dff58c3df 100644
--- a/lib/sys_file.in.h
+++ b/lib/sys_file.in.h
@@ -41,6 +41,8 @@
# define LOCK_NB 4 /* Don't block when locking. */
#endif
+/* The definition of GL_LINK_WARNING is copied here. */
+
#if @GNULIB_FLOCK@
/* Apply or remove advisory locks on an open file.
Return 0 if successful, otherwise -1 and errno set. */