Remove the leading underscore from structure tags. All identifiers

with a leading underscore are in the implementation namespace.
This commit is contained in:
Hartmut Brandt 2005-03-11 12:57:25 +00:00
parent 3984c5e1d6
commit 2c9d008998
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=143411
2 changed files with 5 additions and 5 deletions

View File

@ -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 */

View File

@ -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) */