Skip to content

Commit

Permalink
remove SVN id keywords
Browse files Browse the repository at this point in the history
fix code style a bit
fix compiler warnings (mostly callback functions)
  • Loading branch information
kaazoo committed Jun 19, 2010
1 parent 404f0aa commit f18a0bf
Show file tree
Hide file tree
Showing 73 changed files with 1,390 additions and 491 deletions.
2 changes: 0 additions & 2 deletions bin/blockhost
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
#
# This file is part of DrQueue
#
# $Id$
#

SHLIB=$DRQUEUE_ROOT/bin/shlib

Expand Down
4 changes: 3 additions & 1 deletion bin/chown_block
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#!/usr/bin/perl
#
# $Id$
# Copyright (C) 2001,2002,2003,2004,2005,2006 Jorge Daza Garcia-Blanes
#
# This file is part of DrQueue
#
# This script changes the owner and group of a list of files
# as stated in the command line.
Expand Down
4 changes: 3 additions & 1 deletion bin/cjob
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#!/bin/sh -e
#
# $Id$
# Copyright (C) 2001,2002,2003,2004,2005,2006 Jorge Daza Garcia-Blanes
#
# This file is part of DrQueue
#

SHLIB=$DRQUEUE_ROOT/bin/shlib
Expand Down
4 changes: 3 additions & 1 deletion bin/ctask
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#!/bin/sh -e
#
# $Id$
# Copyright (C) 2001,2002,2003,2004,2005,2006 Jorge Daza Garcia-Blanes
#
# This file is part of DrQueue
#

SHLIB=$DRQUEUE_ROOT/bin/shlib
Expand Down
4 changes: 3 additions & 1 deletion bin/drqman
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#!/bin/sh -e
#
# $Id$
# Copyright (C) 2001,2002,2003,2004,2005,2006 Jorge Daza Garcia-Blanes
#
# This file is part of DrQueue
#

SHLIB=$DRQUEUE_ROOT/bin/shlib
Expand Down
4 changes: 3 additions & 1 deletion bin/jobfinfo
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#!/bin/sh -e
#
# $Id$
# Copyright (C) 2001,2002,2003,2004,2005,2006 Jorge Daza Garcia-Blanes
#
# This file is part of DrQueue
#

SHLIB=$DRQUEUE_ROOT/bin/shlib
Expand Down
4 changes: 3 additions & 1 deletion bin/jobinfo
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#!/bin/sh -e
#
# $Id$
# Copyright (C) 2001,2002,2003,2004,2005,2006 Jorge Daza Garcia-Blanes
#
# This file is part of DrQueue
#

SHLIB=$DRQUEUE_ROOT/bin/shlib
Expand Down
4 changes: 3 additions & 1 deletion bin/master
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#!/bin/sh -e
#
# $Id$
# Copyright (C) 2001,2002,2003,2004,2005,2006 Jorge Daza Garcia-Blanes
#
# This file is part of DrQueue
#

SHLIB=$DRQUEUE_ROOT/bin/shlib
Expand Down
4 changes: 3 additions & 1 deletion bin/requeue
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#!/bin/sh -e
#
# $Id$
# Copyright (C) 2001,2002,2003,2004,2005,2006 Jorge Daza Garcia-Blanes
#
# This file is part of DrQueue
#

SHLIB=$DRQUEUE_ROOT/bin/shlib
Expand Down
4 changes: 3 additions & 1 deletion bin/sendjob
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#!/bin/sh -e
#
# $Id$
# Copyright (C) 2001,2002,2003,2004,2005,2006 Jorge Daza Garcia-Blanes
#
# This file is part of DrQueue
#

SHLIB=$DRQUEUE_ROOT/bin/shlib
Expand Down
4 changes: 3 additions & 1 deletion bin/shlib
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#!/bin/bash -e
#
# $Id$
# Copyright (C) 2001,2002,2003,2004,2005,2006 Jorge Daza Garcia-Blanes
#
# This file is part of DrQueue
#


Expand Down
4 changes: 3 additions & 1 deletion bin/slave
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#!/bin/sh -e
#
# $Id$
# Copyright (C) 2001,2002,2003,2004,2005,2006 Jorge Daza Garcia-Blanes
#
# This file is part of DrQueue
#

SHLIB=$DRQUEUE_ROOT/bin/shlib
Expand Down
3 changes: 0 additions & 3 deletions cfgreader.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
// USA
//
//
// $Id$
//

#include "libdrqueue.h"

Expand Down
2 changes: 0 additions & 2 deletions ctask.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
// USA
//
// $Id$
//

#include <stdio.h>

Expand Down
11 changes: 7 additions & 4 deletions drqman/drqm_autorefresh.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
// USA
//
//
// $Id$
//

#include <string.h>
#include <unistd.h>
Expand Down Expand Up @@ -56,6 +53,9 @@ GtkWidget *CreateAutoRefreshWidgets (struct drqm_autorefresh_info *ari) {

void AutoRefreshCheckButtonToggled (GtkWidget *cbutton, struct drqm_autorefresh_info *ari) {
int delay;

// fix compiler warning
(void)cbutton;

if (GTK_TOGGLE_BUTTON(ari->cbenabled)->active) {
gtk_entry_set_editable(GTK_ENTRY(ari->eseconds),FALSE);
Expand All @@ -72,5 +72,8 @@ void AutoRefreshCheckButtonToggled (GtkWidget *cbutton, struct drqm_autorefresh_
}

void AutoRefreshEntryChanged (GtkWidget *entry, struct drqm_autorefresh_info *ari) {
// Not necessary at the moment
// FIXME: Not necessary at the moment
// fix compiler warning
(void)entry;
(void)ari;
}
3 changes: 0 additions & 3 deletions drqman/drqm_autorefresh.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
// USA
//
//
// $Id$
//

#ifndef _DRQM_AUTOREFRESH_H_
#define _DRQM_AUTOREFRESH_H_
Expand Down
3 changes: 0 additions & 3 deletions drqman/drqm_common.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
// USA
//
/*
* $Id$
*/

#include "drqm_common.h"

Expand Down
3 changes: 0 additions & 3 deletions drqman/drqm_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
// USA
//
//
// $Header: /root/cvs/drqueue/drqman/drqm_common.h,v 1.2 2001/09/24 16:10:20 jorge Exp $
//

#ifndef _DRQM_COMMON_H_
#define _DRQM_COMMON_H_
Expand Down
Loading

0 comments on commit f18a0bf

Please sign in to comment.