Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
5f1e53e8
Commit
5f1e53e8
authored
Aug 07, 2006
by
Eric Wong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
command: static-fication since commandError is no longer a macro
git-svn-id:
https://svn.musicpd.org/mpd/trunk@4593
09075e82-0dd4-0310-85a5-a0d7c8717e4f
parent
831ee7c6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
5 deletions
+2
-5
command.c
src/command.c
+2
-2
command.h
src/command.h
+0
-3
No files found.
src/command.c
View file @
5f1e53e8
...
@@ -131,8 +131,8 @@ struct _CommandEntry {
...
@@ -131,8 +131,8 @@ struct _CommandEntry {
CommandListHandlerFunction
listHandler
;
CommandListHandlerFunction
listHandler
;
};
};
char
*
current_command
=
NULL
;
static
char
*
current_command
=
NULL
;
int
command_listNum
=
0
;
static
int
command_listNum
=
0
;
static
CommandEntry
*
getCommandEntryFromString
(
char
*
string
,
int
*
permission
);
static
CommandEntry
*
getCommandEntryFromString
(
char
*
string
,
int
*
permission
);
...
...
src/command.h
View file @
5f1e53e8
...
@@ -34,9 +34,6 @@
...
@@ -34,9 +34,6 @@
#define COMMAND_RETURN_CLOSE 20
#define COMMAND_RETURN_CLOSE 20
#define COMMAND_MASTER_READY 30
#define COMMAND_MASTER_READY 30
extern
char
*
current_command
;
extern
int
command_listNum
;
int
processListOfCommands
(
int
fd
,
int
*
permission
,
int
*
expired
,
int
processListOfCommands
(
int
fd
,
int
*
permission
,
int
*
expired
,
int
listOK
,
struct
strnode
*
list
);
int
listOK
,
struct
strnode
*
list
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment