Removed the space between function names and the opening parenthesis.
[mmh] / sbr / context_foil.c
index 93b198d..e7d7da8 100644 (file)
@@ -15,7 +15,7 @@
 */
 
 int
-context_foil (char *path)
+context_foil(char *path)
 {
        register struct node *np;
 
@@ -43,23 +43,23 @@ context_foil (char *path)
        ** If path is given, create a minimal profile/context list
        */
        if (path) {
-               m_defs = (struct node *) mh_xmalloc (sizeof(*np));
+               m_defs = (struct node *) mh_xmalloc(sizeof(*np));
 
                np = m_defs;
-               if (!(np->n_name = strdup ("Path"))) {
-                       advise (NULL, "strdup failed");
+               if (!(np->n_name = strdup("Path"))) {
+                       advise(NULL, "strdup failed");
                        return -1;
                }
-               if (!(np->n_field = strdup (path))) {
-                       advise (NULL, "strdup failed");
+               if (!(np->n_field = strdup(path))) {
+                       advise(NULL, "strdup failed");
                        return -1;
                }
                np->n_context = 0;
                np->n_next = NULL;
 
-               if (mypath == NULL && (mypath = getenv ("HOME")) != NULL)
-                       if (!(mypath = strdup (mypath))) {
-                               advise (NULL, "strdup failed");
+               if (mypath == NULL && (mypath = getenv("HOME")) != NULL)
+                       if (!(mypath = strdup(mypath))) {
+                               advise(NULL, "strdup failed");
                                return -1;
                        }
        }