Listing 2 Header file for matmpy options and prototype

/* ============ */
/* mpydefs.h    */
/* ============ */
/*=============================================================
*/
/* D E F I N I T I O N S  F O R  M A T M P Y  O P T I O N S */
/*==========================================================*/
# if defined(__MPYDEFS_H)
#       /* do nothing */
# else
/* --------------- */
/* PRODUCT OPTIONS */
/* --------------- */

#define AB      0               /* A * B   */
#define ATB     1               /* A' * B  */
#define ABT     2               /* A * B'  */
#define ATBT    3               /* A' * B' */

/* -------------- */
/* RESULT OPTIONS */
/* -------------- */

#define P        0              /* C = Product  */
#define MP      -2              /* C = -Product */
#define CPP      1              /* C += Product */
#define CMP     -1              /* C -= Product */

/* ------------------- */
/* FUNCTION PROTOTYPES */
/* ------------------- */
# undef F
# if defined(__STDC__) || defined(__PROTO__)
#       define  F( P ) P
# else
#       define  F( P ) ()
# endif

/* INDENT OFF */
extern  void    matmpy F((double *, int, int,
                      double *, int, int,
                      double *, int, int));
# under F
/* INDENT ON */
# endif                          /* __MPYDEFS__H */

/* End of File */