Skip to content

Commit

Permalink
Add __BEGIN_DECLS for __getpagesize declaration.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ulrich Drepper committed Aug 12, 2004
1 parent 0569cbb commit 7543b60
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion sysdeps/unix/sysv/linux/bits/shm.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (C) 1995, 1996, 1997, 2000, 2002 Free Software Foundation, Inc.
/* Copyright (C) 1995,1996,1997,2000,2002,2004 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
Expand Down Expand Up @@ -35,6 +35,8 @@
#define SHM_LOCK 11 /* lock segment (root only) */
#define SHM_UNLOCK 12 /* unlock segment (root only) */

__BEGIN_DECLS

/* Segment low boundary address multiple. */
#define SHMLBA (__getpagesize ())
extern int __getpagesize (void) __THROW __attribute__ ((__const__));
Expand Down Expand Up @@ -95,4 +97,6 @@ struct shm_info
unsigned long int swap_successes;
};

__END_DECLS

#endif /* __USE_MISC */

0 comments on commit 7543b60

Please sign in to comment.