summaryrefslogtreecommitdiffhomepage
path: root/mixlib
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
commitb60bc0f2b6bf94ff7c7ae68f60f57e662f25afe9 (patch)
treef9a9fdd19e3b7e3928b6e50270e5ea68a3eaf7d4 /mixlib
parent83743e359ab6d90b481438427cc12558b6d6d119 (diff)
downloadmdk-b60bc0f2b6bf94ff7c7ae68f60f57e662f25afe9.tar.gz
mdk-b60bc0f2b6bf94ff7c7ae68f60f57e662f25afe9.tar.bz2
minor changes
Diffstat (limited to 'mixlib')
-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)
{