projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
protect all user-level include files against reinclusion
[unix-history]
/
usr
/
src
/
include
/
glob.h
diff --git
a/usr/src/include/glob.h
b/usr/src/include/glob.h
index
2855bda
..
6e87a13
100644
(file)
--- a/
usr/src/include/glob.h
+++ b/
usr/src/include/glob.h
@@
-7,9
+7,12
@@
*
* %sccs.include.redist.c%
*
*
* %sccs.include.redist.c%
*
- * @(#)glob.h 5.
5
(Berkeley) %G%
+ * @(#)glob.h 5.
6
(Berkeley) %G%
*/
*/
+#ifndef _GLOB_H_
+#define _GLOB_H_
+
typedef struct {
int gl_pathc; /* count of total paths so far */
int gl_matchc; /* count of paths matching pattern */
typedef struct {
int gl_pathc; /* count of total paths so far */
int gl_matchc; /* count of paths matching pattern */
@@
-41,3
+44,5
@@
__BEGIN_DECLS
int glob __P((const char *, int, int (*)(char *, int), glob_t *));
void globfree __P((glob_t *));
__END_DECLS
int glob __P((const char *, int, int (*)(char *, int), glob_t *));
void globfree __P((glob_t *));
__END_DECLS
+
+#endif /* !_GLOB_H_ */