Apply clang-format to source tree
[alexxy/gromacs.git] / src / programs / view / nleg.h
index c95d6bb7f7e75ca40b563b83a9e5d3cee41aa349..fc28a6b9c410d67d5fa0c53640d56aaf97cb3184 100644 (file)
@@ -3,7 +3,7 @@
  *
  * Copyright (c) 1991-2000, University of Groningen, The Netherlands.
  * Copyright (c) 2001-2004, The GROMACS development team.
- * Copyright (c) 2013,2014,2015, by the GROMACS development team, led by
+ * Copyright (c) 2013,2014,2015,2019, by the GROMACS development team, led by
  * Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
  * and including many others, as listed in the AUTHORS file in the
  * top-level source directory and at http://www.gromacs.org.
 
 struct t_rgb;
 
-typedef struct {
+typedef struct
+{
     t_windata wd;
 } t_legendwin;
 
-extern unsigned long Type2Color(const char *type);
+extern unsigned long Type2Color(const chartype);
 /* Return the color for a given atomtype */
 
-extern t_rgb *Type2RGB(const char *type);
+extern t_rgb* Type2RGB(const char* type);
 /* Return the color for a given atomtype */
 
-extern t_legendwin *init_legw(t_x11 *x11, Window Parent,
-                              int x, int y, int width, int height,
-                              unsigned long fg, unsigned long bg);
+extern t_legendwin*
+init_legw(t_x11* x11, Window Parent, int x, int y, int width, int height, unsigned long fg, unsigned long bg);
 
-extern void map_legw(t_x11 *x11, t_legendwin *lw);
+extern void map_legw(t_x11* x11, t_legendwin* lw);
 
-extern void done_legw(t_x11 *x11, t_legendwin *lw);
+extern void done_legw(t_x11* x11, t_legendwin* lw);
 
-#endif  /* _nleg_h */
+#endif /* _nleg_h */