summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorharti <harti@FreeBSD.org>2005-03-11 12:57:25 +0000
committerharti <harti@FreeBSD.org>2005-03-11 12:57:25 +0000
commitdc263e28e9ab4cc34ef8539e579b33c18bddf69a (patch)
tree7a985b1284282fc01d087e98dd18b15cedc5eb67
parentf61af04d952f9de57850dc3a3250f542981b3b93 (diff)
downloadFreeBSD-src-dc263e28e9ab4cc34ef8539e579b33c18bddf69a.zip
FreeBSD-src-dc263e28e9ab4cc34ef8539e579b33c18bddf69a.tar.gz
Remove the leading underscore from structure tags. All identifiers
with a leading underscore are in the implementation namespace.
-rw-r--r--usr.bin/make/GNode.h4
-rw-r--r--usr.bin/make/suff.c6
2 files changed, 5 insertions, 5 deletions
diff --git a/usr.bin/make/GNode.h b/usr.bin/make/GNode.h
index b41d1ea..bf60b0e 100644
--- a/usr.bin/make/GNode.h
+++ b/usr.bin/make/GNode.h
@@ -44,7 +44,7 @@
#include "sprite.h"
#include "lst.h"
-struct _Suff;
+struct Suff;
/*
* The structure for an individual graph node. Each node has several
@@ -156,7 +156,7 @@ typedef struct GNode {
* Suffix for the node (determined by Suff_FindDeps and opaque to
* everyone but the Suff module)
*/
- struct _Suff *suffix;
+ struct Suff *suffix;
} GNode;
#endif /* GNode_h_39503bf2 */
diff --git a/usr.bin/make/suff.c b/usr.bin/make/suff.c
index efe14ba..4972b4b 100644
--- a/usr.bin/make/suff.c
+++ b/usr.bin/make/suff.c
@@ -126,7 +126,7 @@ static int sNum = 0;
/*
* Structure describing an individual suffix.
*/
-typedef struct _Suff {
+typedef struct Suff {
char *name; /* The suffix itself */
int nameLen; /* Length of the suffix */
short flags; /* Type of suffix */
@@ -144,11 +144,11 @@ typedef struct _Suff {
/*
* Structure used in the search for implied sources.
*/
-typedef struct _Src {
+typedef struct Src {
char *file; /* The file to look for */
char *pref; /* Prefix from which file was formed */
Suff *suff; /* The suffix on the file */
- struct _Src *parent; /* The Src for which this is a source */
+ struct Src *parent; /* The Src for which this is a source */
GNode *node; /* The node describing the file */
int children; /* Count of existing children (so we don't free
* this thing too early or never nuke it) */
OpenPOWER on IntegriCloud