summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2003-06-04 01:33:24 +0000
committerJose Antonio Ortega Ruiz <jao@gnu.org>2003-06-04 01:33:24 +0000
commitb283f40ac345892efd005a83ff561dff40ded6ab (patch)
tree817de19c4d7a07a1b75d1b7b35d3d8744845b061
parent6b29056f99efb8df5586a4094cb87b5b7cc135d2 (diff)
downloadmdk-b283f40ac345892efd005a83ff561dff40ded6ab.tar.gz
mdk-b283f40ac345892efd005a83ff561dff40ded6ab.tar.bz2
minor changes
-rw-r--r--mixlib/mix_code_file.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/mixlib/mix_code_file.c b/mixlib/mix_code_file.c
index 8a50a41..71a4ba4 100644
--- a/mixlib/mix_code_file.c
+++ b/mixlib/mix_code_file.c
@@ -1,7 +1,7 @@
/* -*-c-*- -------------- mix_code_file.c :
* Implementation of the functions declared in mix_code_file.h
* ------------------------------------------------------------------
- * $Id: mix_code_file.c,v 1.4 2003/06/03 22:33:22 jao Exp $
+ * $Id: mix_code_file.c,v 1.5 2003/06/04 01:33:24 jao Exp $
* ------------------------------------------------------------------
* Copyright (C) 2000, 2002, 2003 Free Software Foundation, Inc.
*
@@ -203,16 +203,13 @@ mix_code_file_delete (mix_code_file_t *file)
g_free (file);
}
-
-
/* get general parameters from a code file */
gboolean
mix_code_file_is_debug (const mix_code_file_t *file)
{
- return (file == NULL ) ? FALSE : IS_DEBUG_ (file);
+ return (file != NULL) && IS_DEBUG_ (file);
}
-
gint
mix_code_file_major_version (const mix_code_file_t *file)
{