Skip to content

Commit de83387

Browse files
committed
Forward declare ipp_t
1 parent 375778c commit de83387

3 files changed

Lines changed: 7 additions & 2 deletions

File tree

cups/base.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,4 +153,11 @@ typedef int64_t ssize_t; // @private@
153153
# else
154154
# define _CUPS_NORETURN
155155
# endif // _CUPS_HAS_NORETURN
156+
157+
//
158+
// Forward declare the ipp_t type that is shared accross headers
159+
//
160+
161+
typedef struct _ipp_s ipp_t; // IPP request/response data
162+
156163
#endif // !_CUPS_BASE_H_

cups/ipp.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -493,7 +493,6 @@ typedef enum ipp_tag_e // Value and group tag values for attributes
493493
} ipp_tag_t;
494494

495495
typedef unsigned char ipp_uchar_t; // Unsigned 8-bit integer/character
496-
typedef struct _ipp_s ipp_t; // IPP request/response data
497496
typedef struct _ipp_attribute_s ipp_attribute_t;
498497
// IPP attribute
499498

cups/pwg.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
#ifndef _CUPS_PWG_H_
1212
# define _CUPS_PWG_H_
1313
# include "base.h"
14-
# include "ipp.h"
1514
# ifdef __cplusplus
1615
extern "C" {
1716
# endif /* __cplusplus */

0 commit comments

Comments
 (0)